[Stgt-devel] support to close a connection by force and to shut down tgtd

FUJITA Tomonori fujita.tomonori
Thu Jul 31 11:21:53 CEST 2008


On Thu, 31 Jul 2008 09:59:47 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> FUJITA Tomonori schrieb:
> > On Wed, 30 Jul 2008 08:06:21 +0200
> > Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> > 
> >> FUJITA Tomonori schrieb:
> >>> On Tue, 29 Jul 2008 18:20:25 +0300
> >>> Doron Shoham <dorons at Voltaire.COM> wrote:
> >>>
> >>>> Tomo - please note that the I_T nexus id is in hex but the tgtadm
> >>>> accepts only decimal values.  Please change the I_T nexus id to
> >>>> decimal.
> >>> Ah, thanks a lot! I didn't notice this at all.
> >> BTW - can "cid" ("Connection") have a different value than 0?
> > 
> > Yeah, it can. We just use the cid of a login request from an
> > initiator.
> 
> So how would it look like?
> 
> 1) I assume like this:
> 
>     I_T nexus information:
>         I_T nexus: 64
>             Initiator: iqn.2006-08.net...
>             Connection: 2
>                 IP Address: 192.168.61.11
>         I_T nexus: 97
>             Initiator: iqn.2008-01.net...
>             Connection: 3
>                 IP Address: 192.168.61.10
>         I_T nexus: a7
>             Initiator: iqn.2007-06.net...
>             Connection: 0
>                 IP Address: 192.168.61.18

This can happen.


> 2) But you can't have different connections in one session, i.e.:
> 
>     I_T nexus information:
>         I_T nexus: 64
>             Initiator: iqn.2006-08.net...
>             Connection: 2
>                 IP Address: 192.168.61.11
>             Initiator: iqn.2008-01.net...
>             Connection: 3
>                 IP Address: 192.168.61.10
>         I_T nexus: a7
>             Initiator: iqn.2007-06.net...
>             Connection: 0
>                 IP Address: 192.168.61.18

This can happen too with MC/S.



More information about the stgt mailing list