Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
Date: Thu, 16 Jun 2011 21:36:03
Message-Id: 20110616213548.8268520054@flycatcher.gentoo.org
1 nightmorph 11/06/16 21:35:48
2
3 Modified: lvm2.xml
4 Log:
5 update lvm2 guide for kernel options and baselayout2/openrc, patch from nimiux on bug 371945
6
7 Revision Changes Path
8 1.26 xml/htdocs/doc/en/lvm2.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.26&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.26&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.25&r2=1.26
13
14 Index: lvm2.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v
17 retrieving revision 1.25
18 retrieving revision 1.26
19 diff -u -r1.25 -r1.26
20 --- lvm2.xml 11 Feb 2009 06:42:14 -0000 1.25
21 +++ lvm2.xml 16 Jun 2011 21:35:48 -0000 1.26
22 @@ -1,8 +1,8 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.25 2009/02/11 06:42:14 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.26 2011/06/16 21:35:48 nightmorph Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 -<guide link="/doc/en/lvm2.xml">
29 +<guide>
30 <title>Gentoo LVM2 installation</title>
31
32 <author title="Author">
33 @@ -24,8 +24,8 @@
34 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
35 <license/>
36
37 -<version>2.7</version>
38 -<date>2009-02-10</date>
39 +<version>3</version>
40 +<date>2011-06-16</date>
41
42 <chapter>
43 <title>Introduction</title>
44 @@ -67,9 +67,9 @@
45
46 <p>
47 If you install LVM2 on a currently running system with some spare hard disk
48 -space, you will need to enable the LVM2 module (<path>dm-mod</path>). This
49 -module is available in <path>gentoo-sources</path>. Compiling your kernel and
50 -getting LVM2 to work is covered later in this guide.
51 +space, you will need to enable the LVM2 module (<path>dm-mod</path>) in the
52 +kernel. This module is available in <path>gentoo-sources</path>. Compiling
53 +your kernel and getting LVM2 to work is covered later in this guide.
54 </p>
55
56 <p>
57 @@ -176,11 +176,20 @@
58 </p>
59
60 <p>
61 -Load the LVM2 <path>dm-mod</path> module.
62 +Start the lvm service.
63 </p>
64
65 -<pre caption="Loading the LVM2 module">
66 -# <i>modprobe dm-mod</i>
67 +<pre caption="Starting the lvm service">
68 +# <i>rc-config start lvm</i>
69 +</pre>
70 +
71 +<p>
72 +It is recommended to add the lvm service to the boot runlevel. This way LVM2
73 +will be activated each time the system boots.
74 +</p>
75 +
76 +<pre caption="Adding lvm to the boot runlevel">
77 +# <i>rc-config add lvm boot</i>
78 </pre>
79
80 <p>
81 @@ -354,7 +363,7 @@
82
83 <pre caption="Selecting the LVM2 module in a 2.6.x kernel">
84 Device Drivers ---&gt;
85 - Multi-device support (RAID and LVM) ---&gt;
86 + Multiple devices driver support (RAID and LVM) ---&gt;
87 [*] Multiple devices driver support (RAID and LVM)
88 &lt; &gt; RAID support
89 &lt;M&gt; Device mapper support
90 @@ -365,19 +374,6 @@
91 </p>
92
93 <p>
94 -After you have built your kernel and installed its modules, add the following
95 -line to your <path>/etc/modules.autoload.d/kernel-{KV}</path> where {KV}
96 -represents your kernel version (2.4 or 2.6) so that the LVM2 module gets loaded
97 -when your machine is booted:
98 -</p>
99 -
100 -<pre caption="Adding the LVM2 module into /etc/modules.autoload.d/kernel-2.6">
101 -# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
102 -<comment>(Add the following line)</comment>
103 -dm-mod
104 -</pre>
105 -
106 -<p>
107 Now, install the lvm2 package.
108 </p>