System information
$ ping -I ethX target_IP
If pi ng fails, then you will not be able to bind a session to a NIC. If this is the case, check the network
settings first.
25.11.1. Viewing Available iface Configurat ions
From Red Hat Enterprise Linux 5.5 iSCSI offload and interface binding is supported for the following
iSCSI initiator implementations:
Software iSCSI — like the scsi _tcp and i b_i ser modules, this stack allocates an iSCSI host
instance (i.e. scsi _ho st) per session, with a single connection per session. As a result,
/sys/cl ass_scsi _ho st and /pro c/scsi will report a scsi _ho st for each
connection/session you are logged into.
Offload iSCSI — like the Chelsio cxg b3i , Broadcom bnx2i and ServerEngines be2i scsi
modules, this stack allocates a scsi _ho st for each PCI device. As such, each port on a host bus
adapter will show up as a different PCI device, with a different scsi _ho st per HBA port.
To manage both types of initiator implementations, i scsi ad m uses the i face structure. With this
structure, an i face configuration must be entered in /var/l i b/i scsi /i faces for each HBA port,
software iSCSI, or network device (ethX) used to bind sessions.
To view available i face configurations, run i scsi ad m -m i face. This will display i face
information in the following format:
iface_name
transport_name,hardware_address,ip_address,net_ifacename,initiator_name
Refer to the following table for an explanation of each value/setting.
T able 25.2. if ace Set t in gs
Set t in g D escrip t io n
i face_name i face configuration name.
transpo rt_name Name of driver
hard ware_ad d ress MAC address
i p_ad d ress IP address to use for this port
net_i face_name Name used for the vl an or alias binding of a
software iSCSI session. For iSCSI offloads,
net_i face_name will be <empty> because this
value is not persistent across reboots.
i ni ti ato r_name This setting is used to override a default name
for the initiator, which is defined in
/etc/i scsi /i ni ti ato rname. iscsi
Examp le 25.9 . Samp le o u t p u t o f t h e i scsi ad m -m i face comman d
The following is a sample output of the i scsi ad m -m i face command:
iface0 qla4xxx,00:c0:dd:08:63:e8,20.15.0.7,default,iqn.2005-
06.com.redhat:madmax
iface1 qla4xxx,00:c0:dd:08:63:ea,20.15.0.9,default,iqn.2005-
06.com.redhat:madmax
Chapt er 2 5. O nline St orag e Manag ement
183