Child pages
  • iSCSI

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A user name and password (for the iSCSI configuration so a free choice.  There may be a limit of 16 characters on the password).
  • A server/target computer:
    • root access.
    • The IP address.  If there is more than one, the one that will be used by the client/initiator to access it.
    • A local block device to be made available to the initiator (client) via iSCSI.  May be a file, a HDD (whole device or partition), an LVM volume or a RAID device.
  • A client/initiator computer
    • root access.

Setting up the target (server)

...

In the next step, the iSCSI daemon is used to generate an initial configuration.  Values that need to be changed are redStarting the daemon will generate error messages because there's no configuration yet.

target_ip=192.168.10.27
/etc/init.d/open-iscsi restart
iscsiadm -m discovery -t st -p $target_ip

...