public inbox for gentoo-doc-cvs@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
@ 2009-02-11  6:42 Joshua Saddler (nightmorph)
  0 siblings, 0 replies; 6+ messages in thread
From: Joshua Saddler (nightmorph) @ 2009-02-11  6:42 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    09/02/11 06:42:15

  Modified:             lvm2.xml
  Log:
  options are not permitted after the a flag; bug 258547

Revision  Changes    Path
1.25                 xml/htdocs/doc/en/lvm2.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.24&r2=1.25

Index: lvm2.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- lvm2.xml	23 May 2008 19:49:18 -0000	1.24
+++ lvm2.xml	11 Feb 2009 06:42:14 -0000	1.25
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.24 2008/05/23 19:49:18 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.25 2009/02/11 06:42:14 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/lvm2.xml">
@@ -24,8 +24,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>2.6</version>
-<date>2007-11-03</date>
+<version>2.7</version>
+<date>2009-02-10</date>
 
 <chapter>
 <title>Introduction</title>
@@ -458,9 +458,9 @@
 <comment>(Deactivate all volumes first)</comment>
 # <i>vgchange -a n</i>
 <comment>(Export all the volumes)</comment>
-# <i>vgexport -a vg</i>
+# <i>vgexport -a</i>
 <comment>(Import all volumes)</comment>
-# <i>vgimport -a vg</i>
+# <i>vgimport -a</i>
 <comment>(Reactivate all volumes)</comment>
 # <i>vgchange -a y</i>
 </pre>






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
@ 2011-06-16 21:35 Joshua Saddler (nightmorph)
  0 siblings, 0 replies; 6+ messages in thread
From: Joshua Saddler (nightmorph) @ 2011-06-16 21:35 UTC (permalink / raw
  To: gentoo-doc-cvs

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  ---&gt;
- Multi-device support (RAID and LVM)  ---&gt;
+ Multiple devices driver support (RAID and LVM) ---&gt;
    [*] Multiple devices driver support (RAID and LVM)
    &lt; &gt;   RAID support
    &lt;M&gt;   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>
 






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
@ 2012-03-31 13:32 Sven Vermeulen (swift)
  0 siblings, 0 replies; 6+ messages in thread
From: Sven Vermeulen (swift) @ 2012-03-31 13:32 UTC (permalink / raw
  To: gentoo-doc-cvs

swift       12/03/31 13:32:05

  Modified:             lvm2.xml
  Log:
  Updates regarding bug #407959 - Update on initramfs needs when using LVM for /usr or /var

Revision  Changes    Path
1.28                 xml/htdocs/doc/en/lvm2.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.27&r2=1.28

Index: lvm2.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- lvm2.xml	26 Dec 2011 15:22:40 -0000	1.27
+++ lvm2.xml	31 Mar 2012 13:32:04 -0000	1.28
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.27 2011/12/26 15:22:40 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.28 2012/03/31 13:32:04 swift Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide>
@@ -24,8 +24,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>4</version>
-<date>2011-12-26</date>
+<version>5</version>
+<date>2012-03-31</date>
 
 <chapter>
 <title>Introduction</title>
@@ -374,6 +374,17 @@
 </p>
 
 <p>
+Also build an initramfs if you have <path>/usr</path> or <path>/var</path> on an
+LVM-based partition. Don't forget to edit your boot loader to boot the system
+with the initramfs.
+</p>
+
+<pre caption="Building an initramfs">
+# <i>emerge genkernel</i>
+# <i>genkernel --install initramfs</i>
+</pre>
+
+<p>
 Now, install the lvm2 package.
 </p>
 






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
@ 2012-04-01 14:34 Sven Vermeulen (swift)
  0 siblings, 0 replies; 6+ messages in thread
From: Sven Vermeulen (swift) @ 2012-04-01 14:34 UTC (permalink / raw
  To: gentoo-doc-cvs

swift       12/04/01 14:34:56

  Modified:             lvm2.xml
  Log:
  Improve commands for initramfs, genkernel and lvm, thanks to robbat2

Revision  Changes    Path
1.29                 xml/htdocs/doc/en/lvm2.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.28&r2=1.29

Index: lvm2.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- lvm2.xml	31 Mar 2012 13:32:04 -0000	1.28
+++ lvm2.xml	1 Apr 2012 14:34:56 -0000	1.29
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.28 2012/03/31 13:32:04 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.29 2012/04/01 14:34:56 swift Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide>
@@ -24,8 +24,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>5</version>
-<date>2012-03-31</date>
+<version>6</version>
+<date>2012-04-01</date>
 
 <chapter>
 <title>Introduction</title>
@@ -376,12 +376,18 @@
 <p>
 Also build an initramfs if you have <path>/usr</path> or <path>/var</path> on an
 LVM-based partition. Don't forget to edit your boot loader to boot the system
-with the initramfs.
+with the initramfs and add in <c>dolvm</c> as a boot parameter.
 </p>
 
 <pre caption="Building an initramfs">
 # <i>emerge genkernel</i>
-# <i>genkernel --install initramfs</i>
+# <i>genkernel --lvm --install initramfs</i>
+# <i>nano -w /boot/grub/grub.conf</i>
+<comment>(...)</comment>
+title Gentoo Linux
+root (hd0,0)
+kernel /kernel-3.2.2-gentoo-r5 root=/dev/sda1 <i>dolvm</i>
+<i>initrd /initramfs-genkernel-x86_64-3.2.2-gentoo-r5</i>
 </pre>
 
 <p>






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
@ 2013-01-18 23:06 Joshua Saddler (nightmorph)
  0 siblings, 0 replies; 6+ messages in thread
From: Joshua Saddler (nightmorph) @ 2013-01-18 23:06 UTC (permalink / raw
  To: gentoo-doc-cvs

nightmorph    13/01/18 23:06:26

  Modified:             lvm2.xml
  Log:
  fix outdated references to /dev/hd*, bug 414025

Revision  Changes    Path
1.30                 xml/htdocs/doc/en/lvm2.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.29&r2=1.30

Index: lvm2.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- lvm2.xml	1 Apr 2012 14:34:56 -0000	1.29
+++ lvm2.xml	18 Jan 2013 23:06:26 -0000	1.30
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.29 2012/04/01 14:34:56 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.30 2013/01/18 23:06:26 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide>
@@ -24,8 +24,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>6</version>
-<date>2012-04-01</date>
+<version>7</version>
+<date>2013-01-18</date>
 
 <chapter>
 <title>Introduction</title>
@@ -207,7 +207,7 @@
     filter = [ "a/.*/" ]
 <comment>(Replace it with the following one to scan
 /dev/sda and /dev/sdb and reject anything else)</comment>
-    filter = [ "a|/dev/hd[ab]|", "r/.*/" ]
+    filter = [ "a|/dev/sd[ab]|", "r/.*/" ]
 <comment>(Save the file and quit nano)</comment>
 # <i>vgscan</i>
   Reading all physical volumes.  This may take a while...
@@ -323,7 +323,7 @@
 
 <p>
 Mount your partitions as described in the handbook and mount your LVM2 logical
-volumes as if they were partitions. Replace the usual <path>/dev/hdxx</path>
+volumes as if they were partitions. Replace the usual <path>/dev/sdxx</path>
 with <path>/dev/vg/logical_volumename</path>.
 </p>
 





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml
@ 2013-01-20 16:21 Sven Vermeulen (swift)
  0 siblings, 0 replies; 6+ messages in thread
From: Sven Vermeulen (swift) @ 2013-01-20 16:21 UTC (permalink / raw
  To: gentoo-doc-cvs

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)  ---&gt;
-  [*] Multiple devices driver support (RAID and LVM)
-  &lt; &gt;  RAID support
-<comment>(Note that LVM is not selected on purpose, this was for LVM1)</comment>
-  &lt; &gt;  Logical volume manager (LVM) support
-  &lt;M&gt;  Device-mapper support
-  &lt; &gt;   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  ---&gt;
  Multiple devices driver support (RAID and LVM) ---&gt;
    [*] Multiple devices driver support (RAID and LVM)





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-20 16:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-20 16:21 [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml Sven Vermeulen (swift)
  -- strict thread matches above, loose matches on Subject: below --
2013-01-18 23:06 Joshua Saddler (nightmorph)
2012-04-01 14:34 Sven Vermeulen (swift)
2012-03-31 13:32 Sven Vermeulen (swift)
2011-06-16 21:35 Joshua Saddler (nightmorph)
2009-02-11  6:42 Joshua Saddler (nightmorph)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox