Moving this back to gentoo-user...after I accidentally replied off-list...
On 8/8/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
(hopefully) last questions on LVM: Here: http://www.gentoo.org/doc/en/lvm2.xml I read of the LVM-installation and usage. The text say: When you reach the end of the installation part of the handbook, don't forget to umount all your LVM2 logical volumes as well and for a good measure run the following command before you reboot: Code Listing 2.13: Shutting down LVM2 # vgchange -a n ...this "vgchange -a n" is done on alrteady installed systems automagically, isn't it ? Or ?
Yes, by /lib/rcscripts/addons/lvm-stop.sh.
Is there any text, which describes how to recover from LVM-damages for example by utility-changes ?
Well, I'm not aware of anything. Actually it looks like the lvm utilities are now built as static executables by default (unless you have USE=nolvmstatic!). So I think the most dangerous case is already solved. I do remember there was one version that didn't work with existing metadata or some such thing, but it only survived a day or so ~x86! So if you want to be even more safe, don't accept the ~x86 keyword for sys-fs/lvm2. And it is always a good idea to keep a liveCD around, regardless of whether you are using lvm or not. -Richard -- [email protected] mailing list

