2007-01-08 23:01:16

by Dave Jones

[permalink] [raw]
Subject: lvm backwards compatability

Did backwards compatability with old LVM metadata break intentionally
in 2.6.19 ? I have a volume that mounts just fine in 2.6.18,
but moving to 2.6.19 gets me this..

Huge memory allocation (size 2392064020) rejected - metadata corruption?
Out of memory. Requested 2392064020 bytes.
Failed to read extents from /dev/sdb
Huge memory allocation (size 2392064020) rejected - metadata corruption?
Out of memory. Requested 2392064020 bytes.
Failed to read extents from /dev/sdb
Huge memory allocation (size 2392064020) rejected - metadata corruption?
Out of memory. Requested 2392064020 bytes.
Failed to read extents from /dev/sdb
Huge memory allocation (size 2392064020) rejected - metadata corruption?
Out of memory. Requested 2392064020 bytes.
Failed to read extents from /dev/sdb
Volume group "vg01" not found
2 logical volume(s) in volume group "VolGroup00" now active

This volume was created a few years ago, (circa Fedora Core 2).

Dave

--
http://www.codemonkey.org.uk


2007-01-09 15:15:43

by Alasdair G Kergon

[permalink] [raw]
Subject: Re: lvm backwards compatability

On Mon, Jan 08, 2007 at 06:01:11PM -0500, Dave Jones wrote:
> Did backwards compatability with old LVM metadata break intentionally
> in 2.6.19 ? I have a volume that mounts just fine in 2.6.18,
> but moving to 2.6.19 gets me this..

No - and at first sight that's not a kernel device-mapper problem.

Please grab some diagnostics:
run the lvmdump script (present in the newest packages) or from here:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/LVM2/scripts/lvm_dump.sh?content-type=text/plain&cvsroot=lvm2

with the -a and -m flags.

[NB If you use dm-crypt and have userspace device-mapper < 1.02.13 you
need to remove the encryption keys from the 'dmsetup' output by hand.]

Alasdair
--
[email protected]

2007-01-09 17:54:21

by Dave Jones

[permalink] [raw]
Subject: Re: lvm backwards compatability

On Tue, Jan 09, 2007 at 03:15:39PM +0000, Alasdair G Kergon wrote:
> On Mon, Jan 08, 2007 at 06:01:11PM -0500, Dave Jones wrote:
> > Did backwards compatability with old LVM metadata break intentionally
> > in 2.6.19 ? I have a volume that mounts just fine in 2.6.18,
> > but moving to 2.6.19 gets me this..
>
> No - and at first sight that's not a kernel device-mapper problem.
>
> Please grab some diagnostics:
> run the lvmdump script (present in the newest packages) or from here:
>
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/LVM2/scripts/lvm_dump.sh?content-type=text/plain&cvsroot=lvm2

pilot error. got this working now.

thanks,

Dave

--
http://www.codemonkey.org.uk