Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
Date: Sun, 20 Jan 2013 16:21:43
Message-Id: 20130120162139.79C722171D@flycatcher.gentoo.org
1 swift 13/01/20 16:21:39
2
3 Modified: lvm2.xml
4 Log:
5 Fix bug #451322 - Make it clear that usr and var require initramfs. Also drop 2.4
6
7 Revision Changes Path
8 1.31 xml/htdocs/doc/en/lvm2.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.31&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.31&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.30&r2=1.31
13
14 Index: lvm2.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v
17 retrieving revision 1.30
18 retrieving revision 1.31
19 diff -u -r1.30 -r1.31
20 --- lvm2.xml 18 Jan 2013 23:06:26 -0000 1.30
21 +++ lvm2.xml 20 Jan 2013 16:21:39 -0000 1.31
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.30 2013/01/18 23:06:26 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.31 2013/01/20 16:21:39 swift Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide>
29 @@ -24,8 +24,8 @@
30 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
31 <license/>
32
33 -<version>7</version>
34 -<date>2013-01-18</date>
35 +<version>8</version>
36 +<date>2013-01-20</date>
37
38 <chapter>
39 <title>Introduction</title>
40 @@ -72,10 +72,6 @@
41 your kernel and getting LVM2 to work is covered later in this guide.
42 </p>
43
44 -<p>
45 -Not all 2.4 kernels provided by Gentoo support LVM2!
46 -</p>
47 -
48 </body>
49 </section>
50 <section>
51 @@ -141,7 +137,9 @@
52 resources section at the end of this guide for a link to a mini-howto on how to
53 do this. The size of the root partition need not be large if you will keep
54 <path>/opt /usr /home /var</path> and <path>/tmp</path> in an LVM2 Volume Group
55 -(vg). In this case, 1GB should be sufficient.
56 +(vg). In this case, 1GB should be sufficient. Note however that, if you have
57 +<path>/usr</path> or <path>/var</path> in an LVM2 volume group, you will need to
58 +boot the system with an initramfs.
59 </p>
60
61 <note>
62 @@ -150,6 +148,8 @@
63 <path>/proc</path>, <path>/sbin</path>, <path>/dev</path>, and
64 <path>/root</path>. This way, you would still be able to log into your system
65 (crippled, but still somewhat usable, as root) if something goes terribly wrong.
66 +Also exclude <path>/usr</path> and <path>/var</path> from LVM2 if you do not
67 +want to boot with an initramfs.
68 </note>
69
70 <p>
71 @@ -348,20 +348,10 @@
72
73 <p>
74 When configuring your kernel, make sure to configure your kernel to
75 -support LVM2 (not all 2.4 kernels do). Select the LVM2 module as follows:
76 +support LVM2. Select the LVM2 module as follows:
77 </p>
78
79 -<pre caption="Selecting the LVM2 module in a 2.4.x kernel">
80 -Multi-device support (RAID and LVM) ---&gt;
81 - [*] Multiple devices driver support (RAID and LVM)
82 - &lt; &gt; RAID support
83 -<comment>(Note that LVM is not selected on purpose, this was for LVM1)</comment>
84 - &lt; &gt; Logical volume manager (LVM) support
85 - &lt;M&gt; Device-mapper support
86 - &lt; &gt; Mirror (RAID-1) support
87 -</pre>
88 -
89 -<pre caption="Selecting the LVM2 module in a 2.6.x kernel">
90 +<pre caption="Selecting the LVM2 module in the Linux kernel">
91 Device Drivers ---&gt;
92 Multiple devices driver support (RAID and LVM) ---&gt;
93 [*] Multiple devices driver support (RAID and LVM)