[stgt] [PATCH 1/1] Readonly disk LUNs

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon Apr 5 06:15:36 CEST 2010


On Mon, 5 Apr 2010 14:09:45 +1000
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:

> For readonly devices, exported through two different targets I think
> it is ok if the targets do not share the same
> metadata such as modepages.
> 
> I would see this as "two targets, two luns"  but the readonly luns on
> the readonly target just have that special property of automatically
> have its content updated when "that other lun" on the readwrite target
> is updated.
> 
> 
> For now I think this is fine. With a readonly lun, there is no need to
> make modepages writeable, and maybe one should even disallow mode
> select completely for these.
> For that case I think it is actually the most desireable behaviour to have :
> *  read-write target can update mode pages. These changes are not
> visible to the readonly target.
> *  readonly target can do mode select at all and get whatever is set
> in targets.conf.

We also lost persistent reservation, unit attention, etc. Yeah, it
works for some environments, but I don't recommend such workaround.
--
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