This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ubuntu:iser_rdma [2018/02/21 12:40] tschulz |
ubuntu:iser_rdma [2018/02/23 15:12] (current) tschulz [Check ZFS IO Stats] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ISER/RMDA with ZFS on Ubuntu Server 17.04 ====== | + | ====== ISER/RMDA with ZFS on Ubuntu Server 17.04/17.10 ====== |
- | gg | ||
===== RDMA Infiniband Modules ===== | ===== RDMA Infiniband Modules ===== | ||
<file bash /etc/modules> | <file bash /etc/modules> | ||
Line 56: | Line 56: | ||
===== Configure TargetCLI ===== | ===== Configure TargetCLI ===== | ||
==== Disable ISCSI Authentication ==== | ==== Disable ISCSI Authentication ==== | ||
+ | * Remember on new version of Debian and Ubuntu **targetcli** has been replaced with **targetcli-fb** | ||
<file> | <file> | ||
cd iscsi/iqn.*/tpgt1/ | cd iscsi/iqn.*/tpgt1/ | ||
Line 78: | Line 79: | ||
</file> | </file> | ||
- | ===== Other Commands ===== | + | ===== ISCSI Admin Commands ===== |
- | ==== Check IO Delay/Sats ==== | + | ==== Discover Targets from ISCSI Portal (TCP) ==== |
<file> | <file> | ||
- | apt install sysstat | + | iscsiadm -m discovery -p <IP>:<PORT> |
</file> | </file> | ||
- | <file> | ||
- | iostat -x 1 | ||
- | </file> | ||
- | |||
- | |||
- | + | ==== Discover Targets from ISCSI Portal using iSER ==== | |
- | ==== Check ZFS IO Stats ==== | + | |
<file> | <file> | ||
- | zpool iostat -v 1 | + | iscsiadm -m discovery -p <IP>:<PORT> -I iser |
- | </file> | + | |
- | ==== Discover Targets from ISCSI Portal ==== | + | |
- | <file> | + | |
- | iscsiadm -m discovery -p <IP>:<PORT> | + | |
</file> | </file> | ||
==== Refresh LUNS of ISCSI Target ==== | ==== Refresh LUNS of ISCSI Target ==== | ||
Line 118: | Line 109: | ||
<file> | <file> | ||
iscsiadm -m node -T <TARGETNAME> -l | iscsiadm -m node -T <TARGETNAME> -l | ||
+ | </file> | ||
+ | |||
+ | ===== Other Commands ===== | ||
+ | ==== Check IO Delay/Sats ==== | ||
+ | <file> | ||
+ | apt install sysstat | ||
+ | </file> | ||
+ | <file> | ||
+ | iostat -x 1 | ||
+ | </file> | ||
+ | ==== Check ZFS IO Stats ==== | ||
+ | <file> | ||
+ | zpool iostat -v 1 | ||
+ | </file> | ||
+ | |||
+ | ==== FIO Performance Test ==== | ||
+ | <file> | ||
+ | fio --rw=read --bs=128k --numjobs=1 --iodepth=3 --size="200m" --loops=1 --ioengine=libaio --direct=1 --invalidate=1 --fsync_on_close=1 --randrepeat=1 --norandommap --exitall --name "test1" --filename="/dev/sdf" --output=/tmp/fio_verify.sh-22334.log --time_based --runtime=305 | ||
</file> | </file> | ||