[stgt] 0.9.4 released

Tomasz Chmielewski mangoo at wpkg.org
Wed Feb 11 12:10:31 CET 2009


FUJITA Tomonori schrieb:
> On Tue, 10 Feb 2009 15:36:58 +0100
> Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> 
>> Tomasz Chmielewski schrieb:
>>> Jamuel P. Starkey schrieb:
>>>> Does this release fix the segfault issue you guys have been working on 
>>>> the last few weeks related to low bandwidth links between target and 
>>>> initiator?
>>> It does.
>> To be clear: it does fix the segfault.
> 
> It also fixes the following problem. Let me know if it doesn't.

Hmm, I'm not sure if it's something else or not.

Let's try to remove the target in use:

# tgtadm --op unbind --mode target --tid 3 -I ALL
# tgtadm --op delete --mode conn --tid 3 --sid 28 --cid 0
# tgtadm --op delete --mode conn --tid 3 --sid 37 --cid 0
# tgtadm --mode target --op delete --tid=3
tgtadm: this target unit is still active



Note below:
- "Target 2" is listed twice?
- "I_T nexus information" is printed badly (it's not broken by the mail client)
- "Target 2" should not have 192.168.111.173 ACL


Most of the time, I can remove targets in use just fine.


Target 1: iqn.2006-08.net.syneticon:superthecus.backup
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 2
            Initiator: iqn.2006-12.net.syneticon:server.backup1
            Connection: 0
                IP Address: 192.168.111.173
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: deadbeaf1:0
            SCSI SN: beaf10
            Size: 0 MB
            Online: Yes
            Removable media: No
            Backing store: No backing store
        LUN: 1
            Type: disk
            SCSI ID: deadbeaf1:1
            SCSI SN: beaf11
            Size: 1480476 MB
            Online: Yes
            Removable media: No
            Backing store: /dev/superthecus/backup
    Account information:
        backup
    ACL information:
        192.168.111.173
Target 2: iqn.2007-02.net.syneticon:superthecus.backup1
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: deadbeaf2:0
            SCSI SN: beaf20
            Size: 0 MB
            Online: Yes
            Removable media: No
            Backing store: No backing store
        LUN: 1
            Type: disk
            SCSI ID: deadbeaf2:1
            SCSI SN: beaf21
            Size: 3221 MB
            Online: Yes
            Removable media: No
            Backing store: /dev/superthecus/backup1
    Account information:
    ACL information:
        ALL
Target 3: iqn.2009-02.net.syneticon:superthecus.test
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 28
information:
        LUN: 0
            Type: controller
            SCSI ID: deadbeaf1:0
            SCSI SN: beaf10
            Size: 0 MB
            Online: Yes
            Removable media: No
            Backing store: No backing store
        LUN: 1
            Type: disk
            SCSI ID: deadbeaf1:1
            SCSI SN: beaf11
            Size: 1480476 MB
            Online: Yes
            Removable media: No
            Backing store: /dev/superthecus/backup
    Account information:
        backup
    ACL information:
        192.168.111.173
Target 2: iqn.2007-02.net.syneticon:superthecus.backup1
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: deadbeaf3:0
            SCSI SN: beaf30
            Size: 0 MB
            Online: Yes
            Removable media: No
            Backing store: No backing store
        LUN: 1
            Type: disk
            SCSI ID: deadbeaf3:1
            SCSI SN: beaf31
            Size: 2147 MB
            Online: Yes
            Removable media: No
            Backing store: /dev/superthecus/test
    Account information:
    ACL information:


# iscsiadm -m discovery -t sendtargets -p 192.168.4.51
192.168.4.51:3260,1 iqn.2007-02.net.syneticon:superthecus.backup1

iscsiadm should list me two targets (assuming that iqn.2009-02.net.syneticon:superthecus.test was removed).


-- 
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list