linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] using a read-only PV
@ 2002-02-22  4:27 Eduard Bloch
  2002-02-22  5:52 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Eduard Bloch @ 2002-02-22  4:27 UTC (permalink / raw)
  To: linux-lvm

Hello,

is it possible to use a physical volume in read-only mode? The idea is:
put a snapshot of the PV on a CDROM. Later, build a volume group, with
this read-only volume as the first volume in the snapshot mode, and an
additional volume on the harddisk where the differences are stored.

Is a such scenario possible - or already useable?

Gruss/Regards,
Eduard.
-- 
The UNIX Guru's view of Sex:
unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ;
sleep                                      [Hauke Heidtmann in dcoud]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] using a read-only PV
  2002-02-22  4:27 [linux-lvm] using a read-only PV Eduard Bloch
@ 2002-02-22  5:52 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2002-02-22  5:52 UTC (permalink / raw)
  To: linux-lvm

On Fri, Feb 22, 2002 at 11:26:51AM +0100, Eduard Bloch wrote:
> Hello,
> 
> is it possible to use a physical volume in read-only mode?

"hdparm -r 1 PhysicalVolumePath" would set the device used as a PV to
read-only mode (if supported), but that wouldn't allow LVM to work properly
because it needs to write to *all* PVs on updates.

> The idea is:
> put a snapshot of the PV on a CDROM. Later, build a volume group, with
> this read-only volume as the first volume in the snapshot mode, and an
> additional volume on the harddisk where the differences are stored.
> 
> Is a such scenario possible - or already useable?

No.

LVM needs to be enhanced to support what you want.

> 
> Gruss/Regards,
> Eduard.
> -- 
> The UNIX Guru's view of Sex:
> unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ;
> sleep                                      [Hauke Heidtmann in dcoud]
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-22  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-22  4:27 [linux-lvm] using a read-only PV Eduard Bloch
2002-02-22  5:52 ` Heinz J . Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).