							 	LVM 0.9.1_beta5
Logical Volume Manager Installation                             20/02/2001


Installing this package will create various files in /sbin, /usr/man/man8
and an optional shared library in /lib.

If you don't have a stock kernel including LVM or you want to use a more
recent LVM version than the one in the stock kernel you have to patch your
kernel with the corresponding patch. See bellow for details.


1. Change to LVM/0.9.1_beta5/

2. run the configure script 

3. Follow the instructions in PATCHES/README to create
   a patch for your kernel and apply it

4. cd to /usr/src/linux and configure LVM and loadable module support
   if you want to load it as a module (see /usr/src/linux/README for
   instructions) by "make config/menuconfig/xconfig" (whichever you prefer)

5. Build a new kernel

6. Change back to LVM/0.9.1_beta5/

7. Do a "make"

8. Do a "make install"

9. Omit this step if you chose yes for LVM instead of module in "make config".

   Put an "insmod lvm-mod" into your startup script OR check/extend
   /etc/modules.conf (formerly /etc/conf.modules) for/by

      alias block-major-58      lvm-mod
      alias char-major-109      lvm-mod

   to enable modprobe to load the LVM module (don't forget to enable kmod).

10. Add a "vgscan" and a "vgchange -a y" to your startup files
    (/sbin/init.d/boot with SuSE for eg.) so that the actual volume
    group configuration is online after each reboot.

    Put a "vgchange -a n" into your shutdown script (/sbin/init.d/halt for eg.)
    after dismounting all filesystems.

11. Please remember to keep a lilo.conf entry which is configured to boot
    the previous kernel in case of an emergency!

    Reboot your machine.

12. read the ascii file LVM-HOWTO to go ahead using the LVM
    and read the manuals starting with lvm(8).




If you want to remove the LVM software.

1. change directory to LVM/0.9.1_beta5

2. do a "make remove"

go to step 6 below if you have a stock kernel already containing the LVM driver

3. save your /usr/src/linux/.config

4. delete and reinstall the kernel source tree

5. restore /usr/src/linux/.config

6. change directory to /usr/src/linux

go to step 8 below if you have a stock kernel already containing the LVM driver

7. make oldconfig

continue with step 9

8. make (menu|x)config # deselect LVM here

9. rebuild the kernel and reboot

