iSCSI client setup
- Check iscsid.socket service:
$ systemctl status iscsid.socket
- Set
initiatorname:
$ cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1986-03.com.ibm:boeblingen.3235.r37.r37lp34
- Restart iscsid.service service:
$ systemctl restart iscsid.service
- Set node startup to the preferred mode. For these measurement runs, manual mode was
selected.
$ grep node.startup /etc/iscsi/iscsid.conf # node.startup = automatic node.startup = manual
- Set
discovery:
$ iscsiadm -m discovery -t sendtargets -p 10.0.78.1:3260 $ iscsiadm -m discovery -t sendtargets -p 10.0.78.2:3260
Note: The startup mode selected can be verified for the node records by running this command:iscsiadm --mode node -o show | grep startup
- Login to all targets:
$ iscsiadm -m node -L all