Administrator’s Command Line Guide

Table Of Contents
Chapter 2. Accessing Storage Clusters via iSCSI
Host: fefacc38a2f140ca
LUN: 1, Size: 102400M, Used: 1M, Online: Yes
For information about the command output, see Listing iSCSI Targets on page 6.
iSCSI initiators can now access the target iqn.2014-04.com.vstorage:test1 via the portal 192.168.10.100.
2.2.1 Performance Tips
Spread iSCSI targets evenly across nodes in the cluster. For example, ten nodes with one iSCSI target
per each will perform better than a single node with ten iSCSI targets on it.
Fewer LUNs per more iSCSI targets will perform better than more LUNs per fewer iSCSI targets.
2.3 Listing iSCSI Targets
Using the vstorage-iscsi list command, you can list all iSCSI targets registered on a node or display
detailed information about a specific iSCSI target on a node.
To list all iSCSI targets registered on a node, run the command as follows:
# vstorage-iscsi list
IQN STATUS LUNs HOST PORTAL(s)
iqn.2014-04.com.vstorage:test1 running 1 fefacc38a2f140ca 192.168.10.100
iqn.2014-04.com.vstorage:test2 running 1 fefacc38a2f140ca 192.168.10.101
iqn.2014-04.com.vstorage:test3 stopped 1 fefacc38a2f140ca 192.168.10.102
iqn.2014-04.com.vstorage:test4 stopped 0 fefacc38a2f140ca 192.168.10.103
To display detailed information about an iSCSI target registered on a node, run the vstorage-iscsi list
command with the target’s name as the option. For example:
# vstorage-iscsi list -t iqn.2014-04.com.vstorage:test1
Target iqn.2014-04.com.vstorage:test1:
Portals: 192.168.10.100
Status: running
Registered: yes
Host: fefacc38a2f140ca
LUN: 1, Size: 102400M, Used: 1M, Online: Yes
The command outputs above show the following data:
6