Re: Problems running my home-built LVM2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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.

It sounds like a likely culprit, indeed.  But Googling indicates that
LVM2 has been compiled and used with uClibc for initramfs purposes so it
should work fine.  Tho maybe the problem is that those references I see
are old: i.e. it used to work OK but not anymore.

Is someone successfully using a recent LVM2 with a recent uClibc?

> Can you try to link it to standard glibc (if possible; you can try to use
> static build also)?

That's probably beyond my ability for now (the target machine is under
powered, so I need to cross-compile, which makes everything a lot more
... interesting).

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

Yes, indeed.


        Stefan

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux