Skip to contentSkip to conversation

pvscan - - invalid i/o protocol version

linux-lvm Pascal Heger 3 participants 3 messages Jul 8, 2001 – Jul 9, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I'm new to LVM, and desperate to get it working on a 3 disk linux box.
I'm running Kernel version 2.4.6, and installed the binary 'RedHat' version 8.1 of LVM.
I have compiled the kernel with LVM as a module, and everything seems to work fine at bootup (/proc/lvm is there). The module is loaded at bootup, and i put the vgscan and vgchange scripts in rc.sysinit.

I have changed the partition type of hdb, and hdc to 0x8e. But when i try to run pvcreate /dev/hdb1 i get:

pvcreate - - ERROR: "/etc/lvmtab" doesn't exist; please run vgscan.

And when i run vgscan:

vgscan - - invalid i/o protocol version

What did i do wrong? Did i install the wrong version of LVM? Any help will be greatly appreciated.

Pascal.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

#1 lore raw

[linux-lvm] Redhat 2.4.3-12 Kernel and LVM

As a follow up to my other messages about installing LVM I thought I'd give a status for others...

1. the LVM version in Redhat's 2.4.3-12 kernel is 0.9.1_beta2. While it appeared to work using 0.9.1_beta7 tools there was an error message about an unknown command lvm_chr_ioctl in /var/log/messages.

2. I downloaded the 0.9.1_beta7 tarball and applied the patch as described in the docs. It applied without complaint. It wasn't necessary to apply the hard block size patch. The kernel compiled and LVM is working properly.

3. I also downloaded the stock 2.4.6 kernel and applied the hard block size patch to LVM and then patched/compiled the kernel. The kernel compiled correctly. However, I experienced intermittent CD-ROM read errors (mostly failures) on my SCSI CD-ROM. When mounting the CD an error message stated that it was unable to determine the data format. They are standard Redhat cd's. I tried others and got the same message. I have sent off a Kernel Bug message and went back to 2.4.3-12.

I noticed that the older Redhat 2.4.2-8 kernel also is using 0.9.1_beta2 but I didn't bother trying to upgrade it. I suspect it would upgrade without problems too?

Gerry

Signature · 1 line
"The lyf so short, the craft so long to learne."   Geoffrey Chaucer
#2 lore raw
In reply to Pascal Heger
Quoted 13 lines · Pascal Heger

Hi,

I'm new to LVM, and desperate to get it working on a 3 disk linux box. I'm running Kernel version 2.4.6, and installed the binary 'RedHat' version 8.1 of LVM.
I have compiled the kernel with LVM as a module, and everything seems to work fine at bootup (/proc/lvm is there).
The module is loaded at bootup, and i put the vgscan and vgchange scripts in rc.sysinit.

I have changed the partition type of hdb, and hdc to 0x8e. But when i try to run pvcreate /dev/hdb1 i get:

Quoted 8 lines

pvcreate - - ERROR: "/etc/lvmtab" doesn't exist; please run vgscan.

And when i run vgscan:

vgscan - - invalid i/o protocol version

What did i do wrong? Did i install the wrong version of LVM? Any help will be greatly appreciated.

You don't have the driver in your kernel.

Check in your kernel configuration if LVM is activated.

In case you've got the driver as a module, you need to load it manually or preferably have it loaded by kmod. Maybe your modules.conf doesn't cover the LVM module load?

Quoted 10 lines

Pascal.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_______________________________________________
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-