Re: [linux-lvm] badiane: problem with LVM

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

 



On Tuesday, 23 October 2001, at 13:18:11 -0400,
gdurand@tekmd.com wrote:

> I have compiled kernel 2.4.12 with LVM enabled on Debian.  Upon reboot and
> having created a partition hda5 with cfdisk, I ran pvcreate on /dev/hda5 and
> received
> malloc error in vg_check_active.c [line 76]
> pvcreate -- invalid i/o protocol version
> 
> Can someone offer any help?
> 
It seems a mismatch between LVM tools and kernel code versions. That is,
vanilla 2.4.12 includes 0.9.1-beta7(ish) as far as I remember, but at
least Potato includes an ancient version of lvm-tools. The protocol used
by the tools to comunicate with the kernel part has changed several times,
and it seems that it is the problem you are having.

I would download the latest LVM tarball from sistina.com, patch the 
kernel and compile the tools as said on the documentation included. This
way, the mismatch won't happen again, and you'll get LVM code you can rely
on (there were some problems with LVM in the past).

-- 
José Luis Domingo López
Linux Registered User #189436     Debian Linux Woody (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk




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

  Powered by Linux