--- xml/htdocs/doc/en/lvm2.xml 2012/04/01 14:34:56 1.29 +++ xml/htdocs/doc/en/lvm2.xml 2013/01/20 16:21:39 1.31 @@ -1,5 +1,5 @@ - + @@ -24,8 +24,8 @@ -6 -2012-04-01 +8 +2013-01-20 Introduction @@ -72,10 +72,6 @@ your kernel and getting LVM2 to work is covered later in this guide.

-

-Not all 2.4 kernels provided by Gentoo support LVM2! -

-
@@ -141,7 +137,9 @@ resources section at the end of this guide for a link to a mini-howto on how to do this. The size of the root partition need not be large if you will keep /opt /usr /home /var and /tmp in an LVM2 Volume Group -(vg). In this case, 1GB should be sufficient. +(vg). In this case, 1GB should be sufficient. Note however that, if you have +/usr or /var in an LVM2 volume group, you will need to +boot the system with an initramfs.

@@ -150,6 +148,8 @@ /proc, /sbin, /dev, and /root. This way, you would still be able to log into your system (crippled, but still somewhat usable, as root) if something goes terribly wrong. +Also exclude /usr and /var from LVM2 if you do not +want to boot with an initramfs.

@@ -207,7 +207,7 @@ filter = [ "a/.*/" ] (Replace it with the following one to scan /dev/sda and /dev/sdb and reject anything else) - filter = [ "a|/dev/hd[ab]|", "r/.*/" ] + filter = [ "a|/dev/sd[ab]|", "r/.*/" ] (Save the file and quit nano) # vgscan Reading all physical volumes. This may take a while... @@ -323,7 +323,7 @@

Mount your partitions as described in the handbook and mount your LVM2 logical -volumes as if they were partitions. Replace the usual /dev/hdxx +volumes as if they were partitions. Replace the usual /dev/sdxx with /dev/vg/logical_volumename.

@@ -348,20 +348,10 @@

When configuring your kernel, make sure to configure your kernel to -support LVM2 (not all 2.4 kernels do). Select the LVM2 module as follows: +support LVM2. Select the LVM2 module as follows:

-
-Multi-device support (RAID and LVM)  --->
-  [*] Multiple devices driver support (RAID and LVM)
-  < >  RAID support
-(Note that LVM is not selected on purpose, this was for LVM1)
-  < >  Logical volume manager (LVM) support
-  <M>  Device-mapper support
-  < >   Mirror (RAID-1) support
-
- -
+
 Device Drivers  --->
  Multiple devices driver support (RAID and LVM) --->
    [*] Multiple devices driver support (RAID and LVM)