« Return to Thread: Big Problem...NO DISKS ON IET RESTART

Big Problem...NO DISKS ON IET RESTART

by himanshu padmanabhi :: Rate this Message:

Reply to Author | View in Thread

1. "open-iscsi(865-0.2)" initiator machine connected to 1 target from target machine(having "IET version 16.1").

2. output of "iscsiadm -m session -P 3"

iSCSI Transport Class version 1.1-646
iscsiadm version 2.0-865
Target: iqn.2008-06.com.abcdefgh:Tar2
        Current Portal: 192.168.7.173:3260,1
        Persistent Portal: 192.168.7.173:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface IPaddress: default
                Iface HWaddress: default
                Iface Netdev: default
                SID: 16
                iSCSI Connection State: LOGGED IN
                Internal iscsid Session State: NO CHANGE

                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: CRC32C
                DataDigest: None
                MaxRecvDataSegmentLength: 131072
                MaxXmitDataSegmentLength: 8192
                FirstBurstLength: 65536
                MaxBurstLength: 262144
                ImmediateData: No
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 17 State: running
                scsi17 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdg          State: running
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

3. When I restarted "iscsi-target" daemon on the target side,Disk on the initiator got "blocked" and took tooooo much time to recover.

4. When Disk state was "running" after toooo much time,it's status still was,

                        iSCSI Connection State: IN LOGIN
                        Internal iscsid Session State: REPOEN
    making disks inaccessible on the initiator side,
 
    It should be

                         iSCSI Connection State: LOGGED IN
                         Internal iscsid Session State: NO CHANGE
--------------------------------------------------------------------------------------------------------------------------------------------------------------
here's how it is.....

Target: iqn.2008-06.com.qualexsystems:Tar2
        Current Portal: 192.168.7.173:3260,1
        Persistent Portal: 192.168.7.173:3260,1
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface IPaddress: default
                Iface HWaddress: default
                Iface Netdev: default
                SID: 25
                iSCSI Connection State: IN LOGIN
                Internal iscsid Session State: REPOEN

                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 131072
                MaxXmitDataSegmentLength: 8192
                FirstBurstLength: 65536
                MaxBurstLength: 262144
                ImmediateData: No
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 17 State: running
                scsi17 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdg          State: blocked

          After some time only last line changes to
                        Attached scsi disk sdg          State: running

          But still disks are inaccessible on initiator side.

          So IET code need to changed for that?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

 « Return to Thread: Big Problem...NO DISKS ON IET RESTART

LightInTheBox - Buy quality products at wholesale price!