[linux-lvm] Problems running my home-built LVM2

Milan Broz mbroz at redhat.com
Sun Feb 8 14:11:25 UTC 2009


Stefan Monnier wrote:
> I'm trying to use LVM2 on a small MIPS machine.  This machine uses
> uClibc-0.9.29 with Linux-2.6.25.20 and has limited RAM and CPU power,
> but does come with a 1TB drive which I'd rather manage with LVM.

> I had no particular problems building the latest version of LVM2
> for it.  And as far as I can tell, it's not fully broken,
> but it's unusable: every run of `lvm' gives different results.
> E.g. `lvm pvs' sometimes gives the expected output, sometimes lists
> nothing at all, sometimes complains about missing volume groups,
> sometimes "Incorrect metadata area header checksum" [as mentioned in an
> earlier message on this list, incidentally].

I guess that using uClibc is the problem.
Can you try to link it to standard glibc (if possible; you can try to use
static build also)?
(Just to test that using uClibc is the problem or not.)

> Then I installed Debian in a chroot, and Debian's 2.02.39 version of
> `lvm' works just fine.

That version uses glibc, right?

Milan
--
mbroz at redhat.com




More information about the linux-lvm mailing list