[Stgt-devel] [PATCH] changing state of targets via tgt-admin
FUJITA Tomonori
fujita.tomonori
Wed Jul 30 00:43:09 CEST 2008
On Tue, 29 Jul 2008 12:26:27 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> Add a possibility to change the state (offline or ready) of targets.
>
> It is possible to offline/ready all targets, target specified with its name (i.e. iqn.2008-08.com.example:some.target) or tid.
>
> This is an example usage help for the --offline option (--ready works in the same way):
>
> # ./tgt-admin --offline help
> "./tgt-admin --offline <value>" - offline all or selected targets.
>
> Example usage:
> --offline help - display this help
> --offline ALL - offline all targets
> --offline tid=4 - offline target 4 (target with tid 4)
> --offline iqn.2008-08.com.example:some.target - offline this target
>
>
> Signed-off-by: Tomasz Chmielewski <mangoo at wpkg.org>
Looks a nice feature. Applied, thanks.
More information about the stgt
mailing list