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

Tomasz Chmielewski mangoo
Thu Jul 31 09:59:47 CEST 2008


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


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


Which one is correct?


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the stgt mailing list