[stgt] delete target forcibly with tgtadm command

Mark Harvey markh794 at gmail.com
Sat Jul 16 11:45:30 CEST 2011


Or perhaps "--justdoit" :)

I agree, "--force" sounds like a sane switch.

I could see (unusual) situtations where a force shutdown could be useful.

Cheers
Mark

Sent from my iPad

On Jul 16, 2011, at 19:14, FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

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