[stgt] delete target forcibly with tgtadm command

Shuko Yasumoto yasumoto.shuko at jp.fujitsu.com
Mon Jul 11 01:44:15 CEST 2011


Hi,

Thank you for your response.

Yes. You are right. This operation removes a target which 
has sessions.

Respectfully,
Hisashi Osanai (osanai.hisashi at jp.fujitsu.com)

On Sun, 10 Jul 2011 18:01:20 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> On Fri, 08 Jul 2011 08:59:31 +0900
> Shuko Yasumoto <yasumoto.shuko at jp.fujitsu.com> wrote:
> 
> > Hi, 
> > 
> > I created a patch that provides force target deletion function with 
> > tgtadm command. I know there is a similar function with "--mode conn" 
> > but this function is easy to use for target deletion.
> > 
> > # usage
> > /usr/sbin/tgtadm --lld iscsi --op deletef --mode target --tid 1
> > 
> > I confused how to implement this with "deletef" operation or "--force" 
> > option. But all options seemed to have relevant values so I chose 
> > "deletef" operation.
> > 
> > Please advise and give me comments on this topic.
> 
> Can you please describe what this patch implements?
> 
> This removes a target that still have sessions, right?
> 



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