Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM: Pro and Contra ?
Date: Wed, 09 Aug 2006 07:49:34
Message-Id: 7573e9640608090044j713cac71r385030b217b8cb25@mail.gmail.com
1 Moving this back to gentoo-user...after I accidentally replied off-list...
2
3 On 8/8/06, Meino Christian Cramer <Meino.Cramer@×××.de> wrote:
4 > (hopefully) last questions on LVM:
5 >
6 > Here:
7 > http://www.gentoo.org/doc/en/lvm2.xml
8 > I read of the LVM-installation and usage.
9 >
10 > The text say:
11 >
12 > When you reach the end of the installation part of the handbook,
13 > don't forget to umount all your LVM2 logical volumes as well and
14 > for a good measure run the following command before you reboot:
15 >
16 > Code Listing 2.13: Shutting down LVM2
17 > # vgchange -a n
18 >
19 > ...this "vgchange -a n" is done on alrteady installed systems
20 > automagically, isn't it ? Or ?
21
22 Yes, by /lib/rcscripts/addons/lvm-stop.sh.
23
24 > Is there any text, which describes how to recover from LVM-damages for
25 > example by utility-changes ?
26
27 Well, I'm not aware of anything.
28
29 Actually it looks like the lvm utilities are now built as static
30 executables by default (unless you have USE=nolvmstatic!). So I think
31 the most dangerous case is already solved. I do remember there was
32 one version that didn't work with existing metadata or some such
33 thing, but it only survived a day or so ~x86! So if you want to be
34 even more safe, don't accept the ~x86 keyword for sys-fs/lvm2. And it
35 is always a good idea to keep a liveCD around, regardless of whether
36 you are using lvm or not.
37
38 -Richard
39 --
40 gentoo-user@g.o mailing list