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

Re: [linux-lvm] LVM + 2.4.7 kernel

On Nov 20, 2001  11:44 -0500, Marco Pighi/Peru/Contr/IBM wrote:
> We have upgraded the kernel from a SuSE 7.0 (2.2.16 kernel) to a 2.4.7
> kernel in our Linux for S/390 system. We upgraded modutils, binutils, gcc
> and installed s390 tools as well. Almost everything is working well; the
> only problem we have is lvm: it loads without problems at boot time but
> when we try the vgscan command we get the following message:
>      invalid i/o protocol version
> Does anyone have any idea what could be wrong?

The LVM user tools you have do not work with the kernel version.  The
2.2.16 kernel uses IOP6, while the 2.4 kernel uses IOP10 (this version
number identifies all user<->kernel communication structs).

Depending on how the LVM user tools are installed, you can have both
versions installed at the same time.  This can be done with an
"lvm-wrapper" put in place of the normal binaries (e.g. /sbin/vgscan)
and then it calls the appropriate version tool under /lib/lvm-iopX/vgscan.
The alternative is to change your PATH depending on IOP version (use
the lvmiopversion command in a new LVM tools package) to use the right
directory depending on the current kernel.

Cheers, Andreas
Andreas Dilger

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