Skip to contentSkip to conversation

badiane: problem with LVM

linux-lvm [email protected] 3 participants 5 messages Oct 23, 2001 – Oct 24, 2001

lore
Share & tools
lore
#0 lore raw

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?

Let me know if there is any additional information needed.

Badiane

#1 lore raw
Quoted 8 lines · On Tuesday, 23 October 2001, at 13:18:11 -0400, [email protected] 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).

Signature · 5 lines
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
#2 lore raw

I downloaded the deb packages from sistina and installed them on the 3 systems in question. Upon a reboot, I was able to pvcreate /dev/hda5 successfuly. Now an interesting thing is that when I cfdisk the partition type is still unknown on two of the machines.

Do you know why that is?

Badiane

#3 lore raw
Quoted 4 lines · On Tue, Oct 23, 2001 at 08:56:26PM -0400, [email protected] wrote:

I downloaded the deb packages from sistina and installed them on the 3 systems in question. Upon a reboot, I was able to pvcreate /dev/hda5 successfuly. Now an interesting thing is that when I cfdisk the partition type is still unknown on two of the machines.

The recent fdisk code support displaing "Linux LVM partition" rather than unknown.

Quoted 13 lines

Do you know why that is?

Badiane

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#4 lore raw

All the my machines have the same sources.list so the have the same packages.

I don't think that's a problem for the time being.

Badiane