[stgt] [PATCH 1/1] tgt-admin: add readonly support
Tomasz Chmielewski
mangoo at wpkg.org
Tue Feb 1 11:13:00 CET 2011
On 01.02.2011 10:36, michaelc at cs.wisc.edu wrote:
> From: Mike Christie<michaelc at cs.wisc.edu>
>
> targets.onf/tgt-admin does not support the readonly feature.
> To set this with tgtadm you can run:
>
> tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 1 \
> --params readonly=1
>
> This patch attempts to add it so you can set it in targets.conf by
> doing:
>
> <target iqn.2008-09.com.target>
> readonly 1
> backing-store /storage/lun1
> </target>
>
> Signed-off-by: Mike Christie<michaelc at cs.wisc.edu>
> Cc: Tomasz Chmielewski<mangoo at wpkg.org>
Looks good, thanks.
Acked-by: Tomasz Chmielewski <mangoo at wpkg.org>
--
Tomasz Chmielewski
--
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