using a read-only PV
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.
Signature · 3 lines
The UNIX Guru's view of Sex: unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep [Hauke Heidtmann in dcoud]
Quoted 3 lines · Eduard Bloch
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.
Quoted 6 lines
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.
Quoted 13 lines
Gruss/Regards,
Eduard.Signature · 9 lines
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 [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-