[stgt] can't force-remove targets

Tomasz Chmielewski mangoo at wpkg.org
Mon May 25 14:36:54 CEST 2009

Tomasz Chmielewski wrote:
> FUJITA Tomonori schrieb:
>> Thanks for bisecting,
>> This patch works (sorry, I can't reproduce this problem as I said
>> before)?


> No, it doesn't help here.

http://www1.wpkg.org/remove.txt shows a gdb trace of what happens when I do:

# tgtadm --op delete --mode conn --tid 3 --sid 2 --cid 0

(start and end of the trace are not necessarily precisely correct with 
the starting of the above command).

Is it of any help?

With only having this (offline) target:

# tgtadm --op show --mode sys --name State
     State: offline

# tgtadm --op show --mode target
Target 3: iqn.2007-02.net.syneticon:superthecus.monitoring
     System information:
         Driver: iscsi
         State: offline
     I_T nexus information:
         I_T nexus: 2
             Initiator: iqn.2007-04.net.syneticon:server.monitoring
             Connection: 0
                 IP Address:
     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: 10737 MB
             Online: Yes
             Removable media: No
             Backing store: /dev/superthecus/monitoring
     Account information:
     ACL information:

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