Integrating the LVM into RedHat 6.2

It came to pass that I wanted to use the LVM for filesystems that are mounted at boot time. I also wanted to the the 2.4.x kernel. This worked out well, as the LVM has been integrated into the 2.4.x kernel run. At the time of this writing the current kernel is 2.4.2 and the LVM code in that kernel is 0.9.1_beta2.

The following assumptions are made in this document:

If you need help compiling the kernel, please read the relevant HOW-TO and other misc. documentation.

Grab the LVM source version 0.9.1_beta2 from http://www.sistina.com/lvm/Pages/download.html. (You can grab newer source and patch the kernel's version of LVM up to that level, however, I haven't done that yet, so I'm not sure how well that works.) Untar the source and prepare to run everyon'e favorate command: ./configure We want to make sure to configure the the Makefiles to put the LVM files into logical places and places that are accessable at boot time. Its also wise to staticly link the binaries in case we have an emergancy situation with a screwed up library. I used the following command line statement:

Do the usual make and make install and this will drop files into all the logical places. We're not ready to work this into our boot and shutdown process.

I've created two patches to integrate the LVM into the boot and shutdown process.

That's all there really is to it. If you have any questions let me know.


Keith Garner <kgarner@kgarner.com>
$Date: 2001/05/16 21:00:24 $