System information
For software iSCSI, each i face configuration must have a unique name (with less than 65
characters). The i face_name for network devices that support offloading appears in the format
transport_name. hardware_name.
Examp le 25.10. i scsi ad m -m i face o u t p u t wit h a Ch elsio n et wo rk card
For example, the sample output of i scsi ad m -m i face on a system using a Chelsio network
card might appear as:
default tcp,<empty>,<empty>,<empty>,<empty>
iser iser,<empty>,<empty>,<empty>,<empty>
cxgb3i.00:07:43:05:97:07 cxgb3i,00:07:43:05:97:07,<empty>,<empty>,
<empty>
It is also possible to display the settings of a specific i face configuration in a more friendly way. To
do so, use the option -I iface_name. This will display the settings in the following format:
iface.setting = value
Examp le 25.11. Usin g i face set t in g s wit h a Ch elsio co n verg ed n et wo rk ad ap t er
Using the previous example, the i face settings of the same Chelsio converged network adapter
(i.e. iscsi ad m -m i face -I cxg b3i .0 0 : 0 7: 4 3: 0 5: 9 7: 0 7) would appear as:
# BEGIN RECORD 2.0-871
iface.iscsi_ifacename = cxgb3i.00:07:43:05:97:07
iface.net_ifacename = <empty>
iface.ipaddress = <empty>
iface.hwaddress = 00:07:43:05:97:07
iface.transport_name = cxgb3i
iface.initiatorname = <empty>
# END RECORD
25.11.2. Configuring an iface for Soft ware iSCSI
As mentioned earlier, an i face configuration is required for each network object that will be used to
bind a session.
Before
To create an i face configuration for software iSCSI, run the following command:
# iscsiadm -m iface -I iface_name --op=new
This will create a new empty i face configuration with a specified iface_name. If an existing i face
configuration already has the same iface_name, then it will be overwritten with a new, empty one.
To configure a specific setting of an i face configuration, use the following command:
Red Hat Ent erprise Lin ux 6 St orage Admin ist rat io n G uide
184