User Tools

Site Tools


ubuntu:iser_rdma

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu:iser_rdma [2018/02/21 12:40]
tschulz [Other Commands]
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 55: Line 55:
  
 ===== Configure TargetCLI ===== ===== Configure TargetCLI =====
- 
- 
-===== Other Commands ===== 
-==== Check IO Delay/Sats ==== 
-<​file>​ 
-apt install sysstat 
-</​file>​ 
-<​file>​ 
-iostat -x 1 
-</​file>​ 
- 
 ==== 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 89: Line 79:
 </​file>​ </​file>​
  
- +===== ISCSI Admin Commands ===== 
-==== Check ZFS IO Stats ====+==== Discover Targets from ISCSI Portal (TCP) ====
 <​file>​ <​file>​
-zpool iostat ​-v 1+iscsiadm ​-m discovery -p <​IP>:<​PORT>​
 </​file>​ </​file>​
-==== Discover Targets from ISCSI Portal ====+ 
 +==== Discover Targets from ISCSI Portal ​using iSER ====
 <​file>​ <​file>​
-iscsiadm -m discovery -p <​IP>:<​PORT>​+iscsiadm -m discovery -p <​IP>:<​PORT> ​-I iser
 </​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>​
  
ubuntu/iser_rdma.1519238401.txt.gz · Last modified: 2018/02/21 12:40 by tschulz