Re: [PATCH 1/1] tgt-admin: add readonly support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 01 Feb 2011 11:13:00 +0100
Tomasz Chmielewski <mangoo@xxxxxxxx> wrote:

> On 01.02.2011 10:36, michaelc@xxxxxxxxxxx wrote:
> > From: Mike Christie<michaelc@xxxxxxxxxxx>
> >
> > 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@xxxxxxxxxxx>
> > Cc: Tomasz Chmielewski<mangoo@xxxxxxxx>
> 
> Looks good, thanks.
> 
> Acked-by: Tomasz Chmielewski <mangoo@xxxxxxxx>

Applied, thanks guys!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux