| LVM HOWTO | ||
|---|---|---|
| Prev | Chapter 5. Building the kernel module | Next |
In order to patch the linux kernel to support LVM 1.0.8, you must do the following:
Unpack LVM 1.0.8
# tar zxf lvm_1.0.8.tar.gz
|
Enter the root directory of that version.
# cd LVM/1.0.8
|
Run configure
# ./configure
|
You will need to pass the option --with-kernel_dir to configure if your linux kernel source is not in /usr/src/linux . (Run ./configure --help to see all the options available)
Enter the PATCHES directory
# cd PATCHES
|
Run 'make'
# make
|
You should now have a patch called lvm-1.0.8-$KERNELVERSION.patch in the patches directory. This is the LVM kernel patch referenced in later sections of the howto.
Patch the kernel
# cd /usr/src/linux ; patch -pX < /directory/lvm-1.0.8-$KERNELVERSION.patch
|
| Prev | Home | Next |
| Building the kernel module | Up | Building the LVM module for Linux 2.2.17+ |