[stgt] delete target forcibly with tgtadm command
Shuko Yasumoto
yasumoto.shuko at jp.fujitsu.com
Tue Jul 12 08:20:58 CEST 2011
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
Could you please review the attached patch?
Respectfully,
Hisashi Osanai (osanai.hisashi at jp.fujitsu.com)
On Mon, 11 Jul 2011 09:16:42 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:
> On Mon, 11 Jul 2011 08:44:15 +0900
> Shuko Yasumoto <yasumoto.shuko at jp.fujitsu.com> wrote:
>
> > Hi,
> >
> > Thank you for your response.
> >
> > Yes. You are right. This operation removes a target which
> > has sessions.
>
> ok, please add such description to the patch.
>
> Next question is why you need new operation "deletef"? Why can't you
> do like the following instead?
>
> /usr/sbin/tgtadm --lld iscsi --op delete --force --mode target --tid 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-force-deletion-of-a-target-which-has-sessions.patch
Type: application/octet-stream
Size: 8809 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110712/f23deaba/attachment-0002.obj>
More information about the stgt
mailing list