failed to connect to a iscsi lun. timeout, and DID_TRANSPORT_DISRUPTED

  • Thread starter Thread starter langloispy
  • Start date Start date
L

langloispy

Guest
When I try to connect to an iscsi target from the web interface, everything hangs :(

Here are the steps:
Click on storage, add isci target, enter the portal, click scan, select the target from the list (everything works...) then click SAVE.

Here is the output from /var/log/messages:

Code:
Jan 14 14:57:13 fl-vm01 kernel: vmbr1: received packet on bond0.222 with own address as source address
Jan 14 14:57:13 fl-vm01 kernel: scsi3 : iSCSI Initiator over TCP/IP
Jan 14 14:57:13 fl-vm01 kernel: scsi 3:0:0:0: Direct-Access     NETAPP   LUN              7330 PQ: 0 ANSI: 4
Jan 14 14:57:13 fl-vm01 kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0
Jan 14 14:57:13 fl-vm01 kernel: sd 3:0:0:0: [sdb] 1258450944 512-byte logical blocks: (644 GB/600 GiB)
Jan 14 14:57:13 fl-vm01 kernel: sd 3:0:0:0: [sdb] Write Protect is off
Jan 14 14:57:13 fl-vm01 kernel: sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jan 14 14:57:23 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:57:37 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:57:52 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:58:07 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:58:22 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:58:27 fl-vm01 kernel: sd 3:0:0:0: [sdb] Test WP failed, assume Write Enabled
Jan 14 14:58:37 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:58:37 fl-vm01 kernel: sd 3:0:0:0: [sdb] Unhandled error code
Jan 14 14:58:37 fl-vm01 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_TRANSPORT_DISRUPTED driverbyte=DRIVER_OK
Jan 14 14:58:37 fl-vm01 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Jan 14 14:58:52 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:59:07 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:59:22 fl-vm01 kernel: connection1:0: detected conn error (1011)
Jan 14 14:59:37 fl-vm01 kernel: connection1:0: detected conn error (1011)
While the timeout occurs, if I issue the command "iscsiadm -m session -P 3" the output is:

Code:
iSCSI Transport Class version 2.0-870
iscsiadm version 2.0-870
Target: iqn.1986-03.com.ibm:sn.118072897
    Current Portal: 10.10.10.11:3260,2002
    Persistent Portal: 10.10.10.11:3260,2002
        **********
        Interface:
        **********
        Iface Name: default
        Iface Transport: tcp
        Iface Initiatorname: iqn.2005-03.org.open-iscsi:201ac9f61a90
        Iface IPaddress: 10.10.10.20
        Iface HWaddress: default
        Iface Netdev: default
        SID: 1
        iSCSI Connection State: IN LOGIN
        iSCSI Session State: FAILED
        Internal iscsid Session State: REPOEN
        ************************
        Negotiated iSCSI params:
        ************************
        HeaderDigest: None
        DataDigest: None
        MaxRecvDataSegmentLength: 131072
        MaxXmitDataSegmentLength: 65536
        FirstBurstLength: 65536
        MaxBurstLength: 65536
        ImmediateData: Yes
        InitialR2T: No
        MaxOutstandingR2T: 1
        ************************
        Attached SCSI devices:
        ************************
        Host Number: 3    State: running
        scsi3 Channel 00 Id 0 Lun: 0
            Attached scsi disk sdb        State: blocked
Anyone knows how I can solve this one?

The SAN is an IBM System Storage N series N7900 with NetApp...
Thanks!
 
Last edited by a moderator:
This problem does not occur when my interfaces are not bonded. If I dedicated only one nic for iscsi everything works fine. I presume it is due to a routing or driver problem...