iSCSI client setup

  1. Check iscsid.socket service:
    $ systemctl status iscsid.socket
  2. Set initiatorname:
    $ cat /etc/iscsi/initiatorname.iscsi
    InitiatorName=iqn.1986-03.com.ibm:boeblingen.3235.r37.r37lp34
  3. Restart iscsid.service service:
    $ systemctl restart iscsid.service
  4. 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
  5. 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
  6. Login to all targets:
    $ iscsiadm -m node -L all