[stgt] [PATCH] Change tgt-admin to re-uses existing accounts

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu May 6 05:38:36 CEST 2010


On Wed,  5 May 2010 21:34:11 -0600
Dax Kelson <dkelson at gurulabs.com> wrote:

> Currently tgt-admin always deletes and add accounts. The effect
> of the current behavior is that multiple targets can't use the
> same incoming or outgoing account. This patch allows multiple
> targets to use the same incoming and/or outgoing accounts and
> supports a targets.conf with the following configuration:
> 
> <target iqn.1999-07.com.gurulabs:station1>
>         backing-store /srv/iscsi-luns/station1
>         incominguser station1 letmein
>         outgoinguser server1 itsreallyme
> </target>
> <target iqn.1999-07.com.gurulabs:station2>
>         backing-store /srv/iscsi-luns/station2
>         incominguser station2 letmein
>         outgoinguser server1 itsreallyme
> </target>
> 
> Signed-off-by: Dax Kelson <dkelson at gurulabs.com>
> ---
>  scripts/tgt-admin |   34 ++++++++++++++++++++++++++++++----
>  1 files changed, 30 insertions(+), 4 deletions(-)

Applied, thanks!
--
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