System Administration Guide: Devices and File Systems

No Connections to the iSCSI Target From the Local System

ProcedureHow to Troubleshoot iSCSI Connection Problems

  1. Become superuser.

  2. List your iSCSI target information.

    For example:


    initiator# iscsiadm list target
    Target: iqn.2001-05.com.abcstorage:6-8a0900-37ad70401-bcfff02df8a421df-zzr1200-01
            TPGT: default
            ISID: 4000002a0000
            Connections: 0
  3. If no connections are listed in the iscsiadm list target output, check the /var/adm/messages file for possible reasons why the connection failed.

    You can also verify whether the connection is accessible by using the ping command or by connecting to the storage device's iSCSI port by using the telnet command to ensure that the iSCSI service is available. The default port is 3260.

    In addition, check the storage device's log file for errors.

  4. If your target is not listed in the iscsiadm list target output, check the /var/adm/messages file for possible causes.

    If you are using SendTargets as the discovery method, try listing the discovery-address using the -v option to ensure that the expected targets are visible to the host. For example:


    initiator# iscsiadm list discovery-address -v 10.0.0.1
    Discovery Address: 10.0.0.1:3260
    	Target name: eui.210000203787dfc0
    		Target address:        10.0.0.1:11824
    	Target name: eui.210000203787e07b
    		Target address:        10.0.0.1:11824

    If you are using iSNS as the discovery method, try enabling the iSNS discovery method and listing the isns-server using the -v option to ensure that the expected targets are visible to the host. For example:


    initiator# iscsiadm list isns-server -v
    iSNS Server IP Address: 10.20.56.56:3205
            Target name: iqn.1992-08.com.xyz:sn.1234566
                    Target address:   10.20.57.161:3260, 1
            Target name: iqn.2003-10.com.abc:group-0:154:abc-65-01
                    Target address:   10.20.56.206:3260, 1
            Target name: iqn.2003-10.com.abc:group-0:154:abc-65-02
                    Target address:   10.20.56.206:3260, 1
    .
    .
    .