nightmorph 11/06/16 21:35:48 Modified: lvm2.xml Log: update lvm2 guide for kernel options and baselayout2/openrc, patch from nimiux on bug 371945
Revision Changes Path 1.26 xml/htdocs/doc/en/lvm2.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.26&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.26&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.25&r2=1.26 Index: lvm2.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- lvm2.xml 11 Feb 2009 06:42:14 -0000 1.25 +++ lvm2.xml 16 Jun 2011 21:35:48 -0000 1.26 @@ -1,8 +1,8 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.25 2009/02/11 06:42:14 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.26 2011/06/16 21:35:48 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<guide link="/doc/en/lvm2.xml"> +<guide> <title>Gentoo LVM2 installation</title> <author title="Author"> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>2.7</version> -<date>2009-02-10</date> +<version>3</version> +<date>2011-06-16</date> <chapter> <title>Introduction</title> @@ -67,9 +67,9 @@ <p> If you install LVM2 on a currently running system with some spare hard disk -space, you will need to enable the LVM2 module (<path>dm-mod</path>). This -module is available in <path>gentoo-sources</path>. Compiling your kernel and -getting LVM2 to work is covered later in this guide. +space, you will need to enable the LVM2 module (<path>dm-mod</path>) in the +kernel. This module is available in <path>gentoo-sources</path>. Compiling +your kernel and getting LVM2 to work is covered later in this guide. </p> <p> @@ -176,11 +176,20 @@ </p> <p> -Load the LVM2 <path>dm-mod</path> module. +Start the lvm service. </p> -<pre caption="Loading the LVM2 module"> -# <i>modprobe dm-mod</i> +<pre caption="Starting the lvm service"> +# <i>rc-config start lvm</i> +</pre> + +<p> +It is recommended to add the lvm service to the boot runlevel. This way LVM2 +will be activated each time the system boots. +</p> + +<pre caption="Adding lvm to the boot runlevel"> +# <i>rc-config add lvm boot</i> </pre> <p> @@ -354,7 +363,7 @@ <pre caption="Selecting the LVM2 module in a 2.6.x kernel"> Device Drivers ---> - Multi-device support (RAID and LVM) ---> + Multiple devices driver support (RAID and LVM) ---> [*] Multiple devices driver support (RAID and LVM) < > RAID support <M> Device mapper support @@ -365,19 +374,6 @@ </p> <p> -After you have built your kernel and installed its modules, add the following -line to your <path>/etc/modules.autoload.d/kernel-{KV}</path> where {KV} -represents your kernel version (2.4 or 2.6) so that the LVM2 module gets loaded -when your machine is booted: -</p> - -<pre caption="Adding the LVM2 module into /etc/modules.autoload.d/kernel-2.6"> -# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i> -<comment>(Add the following line)</comment> -dm-mod -</pre> - -<p> Now, install the lvm2 package. </p>
