Skip to contentSkip to conversation

LVM kernel patch request

linux-lvm Tom Cosimano 2 participants 2 messages Jul 2, 2001

lore
Share & tools
lore
#0 lore raw

I'm running Redhat 7.1 kernel vmlinux-2.4.2-2smp. I have tried a number of times and can only conclude that I'm missing some step(s). I have downloaded and installed the following RPMs from ftp://ftp.sistina.com/pub/LVM/binaries/redhat/0.9.1_beta in the order:

1) lvm-base-1.1-1.i386.rpm
rebooted
2a) lvm-iop10-0.9.1_beta7-1.i386.rpm
2b) lvm-iop10-lib-0.9.1_beta7-1.i386.rpm
3) lvm-iop10-man-0.9.1_beta7-1.i386.rpm
4) lvm-iop10-patchgen-0.9.1_beta7-1.i386.rpm
rebooted

Per the instructions in the LVM HOWTO section 7.4
I edited the /etc/rc.d/rc.sysinit to add the following lines:

/sbin/vgscan
/sbin/vgchange -ay

and the file /etc/rc.d/init.d/halt with the following line

/sbin/vgchange -an

I boot my system using PowerQuest BootMagic and enter my Redhat Partition.
As Linux is booting and the vgscan is executed I see the following error message:

vgscan
lvmiopversion -- LVM driver/module not loaded?

vgscan: /lib/lvm-iop not found. Is lvm-iop installed?

I get the same message if I try to run vgscan after logging in and the same or similar message from any vg command.

Also when I run lsmod, I do not see LVM listed and it is not under /proc.

I verified the install of all five rpm(s) and do not understand what I may be doing wrong.

I can only conclude that it is not loading and I'm missing something.

Please HELP

Thanks
Tom

#1 lore raw
Quoted 5 lines · Tom Cosimano

I'm running Redhat 7.1 kernel vmlinux-2.4.2-2smp. I have tried a number of times and can only conclude that I'm missing some step(s). I have downloaded and installed the following RPMs from ftp://ftp.sistina.com/pub/LVM/binaries/redhat/0.9.1_beta in the order:

Quoted 7 lines

1) lvm-base-1.1-1.i386.rpm
rebooted
2a) lvm-iop10-0.9.1_beta7-1.i386.rpm
2b) lvm-iop10-lib-0.9.1_beta7-1.i386.rpm
3) lvm-iop10-man-0.9.1_beta7-1.i386.rpm
4) lvm-iop10-patchgen-0.9.1_beta7-1.i386.rpm
rebooted

You need to build a kernel with LVM support built into it to use this. The default Redhat kernel does not have this. The lvm-iop10-patchgen* packages contain a stripped down version of the LVM source code made just for patching a stock kernel (from ftp.kernel.org). If you need a Redhat kernel that supports LVM, you should talk to Redhat and let them know it is a requirement of yours.

You should look at the LVM HowTo at http://sistina.com/lvm/Pages/howto.html

Regards,

Signature · 26 lines
AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: [email protected]
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
File not found. Should I fake it? (Y/N)
-----End Obligatory Humorous Quote------------------------------------------
AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: [email protected]
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-----End Obligatory Humorous Quote------------------------------------------