[stgt] delete target forcibly with tgtadm command

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sat Jul 16 11:14:29 CEST 2011


On Tue, 12 Jul 2011 15:20:58 +0900
Shuko Yasumoto <yasumoto.shuko at jp.fujitsu.com> wrote:

> Tomonori-san,
> 
> Thank you for your comments.
> 
> I updated the patch with following:
> - put description in a patch
> - change the command syntax from deletef operation 
>   to force option

Anyone has any opinion on this?

I think that adding the feature to remove something by force, e.g.,

- removing a target having active sessions (and connections).
- removing a session having active connections.

But I'm not sure what is the best syntax. The current proposal is
the '--force' option:

tgtadm -lld iscsi --op delete [--force] --mode target --tid <tid>

Any opinions?

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