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 server/target

...

Installation

aptitude -y install iscsitarget iscsitarget-dkms

...

Further devices can be added by editing /etc/iet/ietd.conf, replicating and modifying the first stanza.

Setting up the client/initiator

...

Installation

aptitude -y install open-iscsi

...

hdparm doesn't work on iSCSI devices.  When smartctl was tried there was a server/target kernel abort task for iSCSI target.

Error messages

iscsiadm: initiator reported error (19 - encountered non-retryable iSCSI login failure)

As the messages suggest, an authentication failure.  Check user name and password consistency between server/target and client/initiator.