[linux-lvm] using a read-only PV

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Feb 22 05:52:02 UTC 2002


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 at 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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list