swift 13/01/20 16:21:39 Modified: lvm2.xml Log: Fix bug #451322 - Make it clear that usr and var require initramfs. Also drop 2.4
Revision Changes Path 1.31 xml/htdocs/doc/en/lvm2.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.31&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.31&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.30&r2=1.31 Index: lvm2.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- lvm2.xml 18 Jan 2013 23:06:26 -0000 1.30 +++ lvm2.xml 20 Jan 2013 16:21:39 -0000 1.31 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.30 2013/01/18 23:06:26 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.31 2013/01/20 16:21:39 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>7</version> -<date>2013-01-18</date> +<version>8</version> +<date>2013-01-20</date> <chapter> <title>Introduction</title> @@ -72,10 +72,6 @@ your kernel and getting LVM2 to work is covered later in this guide. </p> -<p> -Not all 2.4 kernels provided by Gentoo support LVM2! -</p> - </body> </section> <section> @@ -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 <path>/opt /usr /home /var</path> and <path>/tmp</path> 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 +<path>/usr</path> or <path>/var</path> in an LVM2 volume group, you will need to +boot the system with an initramfs. </p> <note> @@ -150,6 +148,8 @@ <path>/proc</path>, <path>/sbin</path>, <path>/dev</path>, and <path>/root</path>. 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 <path>/usr</path> and <path>/var</path> from LVM2 if you do not +want to boot with an initramfs. </note> <p> @@ -348,20 +348,10 @@ <p> 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: </p> -<pre caption="Selecting the LVM2 module in a 2.4.x kernel"> -Multi-device support (RAID and LVM) ---> - [*] Multiple devices driver support (RAID and LVM) - < > RAID support -<comment>(Note that LVM is not selected on purpose, this was for LVM1)</comment> - < > Logical volume manager (LVM) support - <M> Device-mapper support - < > Mirror (RAID-1) support -</pre> - -<pre caption="Selecting the LVM2 module in a 2.6.x kernel"> +<pre caption="Selecting the LVM2 module in the Linux kernel"> Device Drivers ---> Multiple devices driver support (RAID and LVM) ---> [*] Multiple devices driver support (RAID and LVM)