[Stgt-devel] how to delete a target which is online?

FUJITA Tomonori fujita.tomonori
Thu Mar 13 10:13:27 CET 2008


On Tue, 11 Mar 2008 16:34:02 +0100
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> How can I delete a target which is still online?
> 
> 
> # tgtadm --lld iscsi --mode target --op delete --tid=46
> tgtadm: this target unit is still active
> 
> 
> Obviously, I should logout the initiators from that target first, but 
> sometimes it's just too hard or impossible.
> 
> Is it possible to delete a target which is still online?

Sorry, it's still in my todo list. I try to work on this next wek.

BTW, changing the target state to offline might work (initiators might
give up).



More information about the stgt mailing list