[stgt] [PATCH 1/1] tgt-admin: add readonly support
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Tue Feb 1 14:20:33 CET 2011
On Tue, 01 Feb 2011 11:13:00 +0100
Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> 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>
Applied, thanks guys!
--
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