[stgt] 0.9.4 released

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Feb 10 15:43:17 CET 2009


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.

==
On Tue, 03 Feb 2009 12:44:48 +0100
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> BTW, this doesn't work reliably for me every time.
> 
> Because of a "slow connection" issue I have one and the same initiator logged in several times:
> 
> # tgtadm --op show --mode target
> Target 3: iqn.2009-02.net.syneticon:superthecus.test
>     System information:
>         Driver: iscsi
>         State: offline
>     I_T nexus information:
>         I_T nexus: 1
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 3
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 4
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 5
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 7
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 8
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 9
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 10
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 11
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 12
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 13
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 14
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 15
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 16
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 17
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 18
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 19
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 20
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 21
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 22
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>         I_T nexus: 23
>             Initiator: iqn.2006-08.net.syneticon:server.syn2
>             Connection: 0
>                 IP Address: 192.168.4.52
>     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:
> 
> 
> So let's remove it:
> 
> tgtadm --op delete --mode conn --tid 3 --sid 11 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 21 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 7 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 17 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 22 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 1 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 18 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 13 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 23 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 16 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 3 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 9 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 12 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 20 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 14 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 15 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 8 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 4 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 19 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 10 --cid 0
> tgtadm --op delete --mode conn --tid 3 --sid 5 --cid 0
> tgtadm --mode target --op delete --tid=3
> 
> 
> When I do "tgtadm --op show --mode target" again, I see no connection was removed
> (i.e., "tgtadm --op show --mode target" shows the same data/connections).
> 
> It doesn't matter if the state is ready or offline.
> 
> 
> -- 
> 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