Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Networking > Issue <<  348 of 354 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 13029
Last update: 07-03-08
Issue:
How can I display the connection status between iscsi-initiator and iscsitaget?
Resolution:

If the iscsitarget and iscsi-initiator are properly connected, the command iscsiadm can display the connection status. For example:

#iscsiadm --mode node --targetname
iqn.2001-04.com.example:storage.disk2.sys1.xyz --portal 192.168.1.10:3260

In the case below, assume the iscsitarget's IP address is 192.168.1.10, the default port is 3260, the target disk is iqn.2001-04.com.example:storage.disk2.sys1.xyz. The output will be similar as below:

iscsiadm --mode node --targetname
iqn.2001-04.com.example:storage.disk2.sys1.xyz --portal 192.168.1.10:3260
node.name = iqn.2001-04.com.example:storage.disk2.sys1.xyz
node.tpgt = 1
node.startup = automatic
iface.hwaddress = default
iface.iscsi_ifacename = default
iface.net_ifacename = default
iface.transport_name = tcp
node.discovery_address = 192.168.1.10
.....................................
node.conn[0].timeo.ping_timeout = 5
node.conn[0].timeo.noop_out_interval = 10
node.conn[0].timeo.noop_out_timeout = 15
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
node.conn[0].iscsi.HeaderDigest = None,CRC32C
node.conn[0].iscsi.IFMarker = No
node.conn[0].iscsi.OFMarker = No

If the output is too detailed to see, another command will show the brief satus:

# iscsiadm --mode node

The output is as below:

192.168.1.10:3260,1 iqn.2001-04.com.example:storage.disk2.sys1.xyz


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Networking > Issue <<   348  of  354  >>