[stgt] can't force-remove targets

Tomasz Chmielewski mangoo at wpkg.org
Thu May 14 12:12:35 CEST 2009


FUJITA Tomonori schrieb:

>> Which will output in syslog:
>>
>> May  6 17:05:35 superthecus tgtd: conn_close_force(230) close 3 0
>> May  6 17:05:35 superthecus tgtd: conn_close(89) already closed 0x9e5288c 4
>>
>>
>> And connection will not be removed.
> 
> I can't reproduce this when I do 'tgtadm --op update --mode sys --name State -v offl
> ine' before 'tgtadm --op delete --mode conn --tid 3 --sid 3 --cid 0'.

There is some corruption going on here - look at this output - garbled 
characters; no Connection info.
The corruption below is the first time I saw it and I'm not sure how to 
reproduce it.

I can reproduce this unability to remove the target on all machines I have.


# tgtadm --op show --mode target | grep -A35 "Target 6"
Target 6: iqn.2007-02.net.syneticon:superthecus.backup1
     System information:
         Driver: iscsi
         State: ready
     I_T nexus information:
         I_T nexus: 54
0��o0��o: iqn.2007-02.net.syneticon:superthecus.test
     System information:
         Driver: iscsi
         State: ready
     I_T nexus information:
     LUN information:
         LUN: 0
             Type: controller
             SCSI ID: IET     00030000
             SCSI SN: beaf30
             Size: 0 MB
             Online: Yes
             Removable media: No
             Backing store: No backing store
         LUN: 1
             Type: disk
             SCSI ID: IET     00030001
             SCSI SN: beaf31
             Size: 2147 MB
             Online: Yes
             Removable media: No
             Backing store: /dev/superthecus/test
     Account information:
     ACL information:
         ALL



-- 
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