Comment 5 for bug 457767

Revision history for this message
Mathias Gug (mathiaz) wrote :

Creating a non-root iscsi initiator system (ie client) with open-iscsi:

1. sudo apt-get install open-iscsi
2. Discover the iscsi target:

sudo iscsiadm -m discovery -t sendtargets -p [IP|HOSTNAME]_OF_TARGET

3. Login into the remote iscsi target:

sudo iscsiadm -m node -T TARGET_NAME -p IP:PORT -l

4. Set automatic login on boot:

sudo iscsiadm -m node -T TARGET_NAME -p IP:PORT --op update -n node.startup -v automatic

This creates a configuration where the iscsi target is considered as a normal local block device. It doesn't create a root-on-iscsi system.

This configuration is working correctly (ie on system boot /dev/sda (in my environement) is created).