o updated for LVM 1.0.6

This commit is contained in:
vortechs 2002-12-16 17:09:16 +00:00
parent 7c0c43b780
commit b818e33653
1 changed files with 37 additions and 17 deletions

View File

@ -17,12 +17,32 @@
</author>
<revhistory>
<revision>
<revnumber>0.4</revnumber>
<date>2002-12-16</date>
<authorinitials>ajl</authorinitials>
<revremark>
Updated for LVM 1.0.6
</revremark>
</revision>
<revision>
<revnumber>0.3</revnumber>
<date>2002-09-16</date>
<authorinitials>ajl</authorinitials>
<revremark>
removed example pvmove from Command Operations section - we now
just point to the more detailed recipe on pvmove that contains
various warnings and such
</revremark>
</revision>
<revision>
<revnumber>0.2</revnumber>
<date>2002-09-11</date>
<authorinitials>ajl</authorinitials>
<revremark>
Updated for LVM 1.0.5 and converted to DocBook XML 4.1.2
Updated for LVM 1.0.5 and converted to DocBook XML 4.1.2.
</revremark>
</revision>
@ -59,7 +79,7 @@
<para>
This document describes how to build, install, and configure
LVM for Linux. A basic description of LVM is also included.
This version of the HowTo is for 1.0.5.
This version of the HowTo is for 1.0.6.
</para>
</abstract>
@ -72,7 +92,7 @@
and running. The entire process of getting, compiling, installing, and
setting up LVM will be covered. Pointers to LVM configurations that
have been tested with will also be included. This version of the
HowTo is for LVM 1.0.5.
HowTo is for LVM 1.0.6.
</para>
<para>
@ -777,26 +797,26 @@ update -d -P
command line tools with the '-h' flag. Use
<command>pvscan -h</command> if you don't know any of the commands.
If the version number listed at the top of the help listing is LVM
1.0.5, <emphasis role="strong">use your current setup</emphasis> and
1.0.6, <emphasis role="strong">use your current setup</emphasis> and
avoid the rest of this section.
</para>
<sect1 id="buildlvmpatch"><title>Building a patch for your kernel</title> <!--label id="buildlvmpatch"-->
<para>
In order to patch the linux kernel to support LVM 1.0.5, you must
In order to patch the linux kernel to support LVM 1.0.6, you must
do the following:
<orderedlist>
<listitem><para> Unpack LVM 1.0.5 </para>
<listitem><para> Unpack LVM 1.0.6 </para>
<screen>
<command> # tar zxf lvm_1.0.5.tar.gz </command>
<command> # tar zxf lvm_1.0.6.tar.gz </command>
</screen>
</listitem>
<listitem> <para> Enter the root directory of that version. </para>
<screen>
<command> # cd LVM/1.0.5 </command>
<command> # cd LVM/1.0.6 </command>
</screen>
</listitem>
@ -829,7 +849,7 @@ update -d -P
<para>
You should now have a patch called
<filename>lvm-1.0.5-$KERNELVERSION.patch</filename> in the
<filename>lvm-1.0.6-$KERNELVERSION.patch</filename> in the
patches directory. This is the LVM kernel patch referenced
in later sections of the howto.
</para>
@ -837,7 +857,7 @@ update -d -P
<listitem><para> Patch the kernel</para>
<screen>
<command> # cd /usr/src/linux ; patch -pX &lt; /directory/lvm-1.0.5-$KERNELVERSION.patch </command>
<command> # cd /usr/src/linux ; patch -pX &lt; /directory/lvm-1.0.6-$KERNELVERSION.patch </command>
</screen>
</listitem>
</orderedlist>
@ -914,7 +934,7 @@ update -d -P
If you want to use snapshots with ReiserFS, make sure you apply the
<filename>linux-2.4.x-VFS-lock</filename> patch (there are copies
of this in the
<filename class="directory">LVM/1.0.5/PATCHES</filename> directory.)
<filename class="directory">LVM/1.0.6/PATCHES</filename> directory.)
</para>
</sect1>
@ -1260,21 +1280,21 @@ then
</sect1>
</chapter>
<chapter><title>Transitioning from previous versions of LVM to LVM 1.0.5</title>
<chapter><title>Transitioning from previous versions of LVM to LVM 1.0.6</title>
<para>
Transitioning from previous versions of LVM to LVM 1.0.5 should be
Transitioning from previous versions of LVM to LVM 1.0.6 should be
fairly painless. We have come up with a method to read in PV version
1 metadata (LVM 0.9.1 Beta7 and earlier) as well as PV version 2
metadata (LVM 0.9.1 Beta8 and LVM 1.0).
</para>
<para>
<emphasis>Warning:</emphasis> New PVs initialized with LVM 1.0.5 are
<emphasis>Warning:</emphasis> New PVs initialized with LVM 1.0.6 are
created with the PV version 1 on-disk structure. This means that LVM
0.9.1 Beta8 and LVM 1.0 cannot read or use PVs created with 1.0.5.
0.9.1 Beta8 and LVM 1.0 cannot read or use PVs created with 1.0.6.
</para>
<sect1><title>Upgrading to LVM 1.0.5 with a non-LVM root partition</title>
<sect1><title>Upgrading to LVM 1.0.6 with a non-LVM root partition</title>
<para>
There are just a few simple steps to transition this setup, but it
is still recommended that you backup your data before you try it.
@ -1344,7 +1364,7 @@ then
</para>
</sect1>
<sect1><title>Upgrading to LVM 1.0.5 with an LVM root partition and initrd</title>
<sect1><title>Upgrading to LVM 1.0.6 with an LVM root partition and initrd</title>
<para>
This is relatively straightforward if you follow the steps
carefully. It is recommended you have a good backup and a suitable