Gentoo Archives: gentoo-server

From: David Miller <david3d@×××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] LVM2 issues
Date: Wed, 01 Jun 2005 16:32:36
Message-Id: 9fd973b60506010932665af6e5@mail.gmail.com
In Reply to: Re: [gentoo-server] LVM2 issues by Benjamin Smee
1 Well the server did a kernel dump last night while doing the pvmove.
2 Resulting in one logical volume being corrupted in the process. Not a
3 big deal as the data is on tape. However now lvdisplay still lists
4 the pvmove0 logical volume. So how do I clean up what was left
5 behind?
6
7 -David
8
9 On 5/31/05, Benjamin Smee <strerror@g.o> wrote:
10 > lo,
11 >
12 > On Tuesday 31 May 2005 17:49, David Miller wrote:
13 > > I've been running LVM2 now for some time but recently I have not
14 > > been able to update device-mapper or lvm2 without vgscan failing to
15 > > find all the pv's. So I'm stuck using lvm2-2.00.25 and device-mapper
16 > > 1.00.19-r2.
17 > > Now one thing to note is that a few of my pv's were added as the
18 > > entire device rather than a partition. Could this be throwing a newer
19 > > version for a loop since it may first be looking for an LVM partition
20 > > before looking for a vg metadata? Or have I just overlooked something
21 > > that I need to do in order to migrate my current vg's up to the newer
22 > > versions?
23 >
24 > There is nothing that you need to do to "migrate" your lvm2 partitions to a
25 > newer format, whatever problem that you have will be something local not
26 > generic as many people are successfully using the latest versions of both
27 > with no problems. You could start off running the vgscan in debug mode and
28 > letting us know the relevant output, and if that fails try running it with a
29 > strace or similar util to see precisely what is happening. Other pertinant
30 > questions are things like, are you using udev? with persistant devices (ie
31 > the tarball option in the rc.conf) what version of baselayout are you using,
32 > do you have devfs enabled?
33 >
34 > regards,
35 >
36 > --
37 > Benjamin Smee (strerror)
38 > 497F 5E98 1FA0 C313 EA0B 08C7 004A 66ED 448B E78C
39 >
40 >
41 >
42
43 --
44 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] LVM2 issues David Miller <david3d@×××××.com>