old-www/HOWTO/LVM-HOWTO/upgradelvm1.html

249 lines
4.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Upgrading to LVM 1.0.8 with a non-LVM root partition</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="LVM HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Transitioning from previous versions of LVM to LVM 1.0.8"
HREF="trans1.html"><LINK
REL="PREVIOUS"
TITLE="Transitioning from previous versions of LVM to LVM 1.0.8"
HREF="trans1.html"><LINK
REL="NEXT"
TITLE="Upgrading to LVM 1.0.8 with an LVM root partition and initrd"
HREF="upgradetolvmroot.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>LVM HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="trans1.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 10. Transitioning from previous versions of LVM to LVM 1.0.8</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="upgradetolvmroot.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="upgradelvm1"
></A
>10.1. Upgrading to LVM 1.0.8 with a non-LVM root partition</H1
><P
>&#13; 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.
You have been warned.
<P
></P
><OL
TYPE="1"
><LI
><P
>&#13; <STRONG
>Build LVM kernel and modules</STRONG
>
</P
><P
>&#13; Follow the steps outlined in <A
HREF="getlvm.html"
>Chapter 5</A
> -
<A
HREF="buildlvmmod.html"
>Section 6.2</A
> for instructions on how to get
and build the necessary kernel components of LVM.
</P
></LI
><LI
><P
>&#13; <STRONG
>Build the LVM user tools</STRONG
>
</P
><P
>&#13; Follow the steps in
<A
HREF="buildlvm.html"
>Chapter 9</A
> to build and install the user tools
for LVM.
</P
></LI
><LI
><P
>&#13; <STRONG
>Setup your init scripts</STRONG
>
</P
><P
>&#13; Make sure you have the proper init scripts setup as per
<A
HREF="boot_scripts.html"
>Chapter 7</A
>.
</P
></LI
><LI
><P
>&#13; <STRONG
>Boot into the new kernel</STRONG
>
</P
><P
>&#13; Make sure your boot-loader is setup to load the new
LVM-enhanced kernel and, if you are using LVM modules, put an
<B
CLASS="command"
>insmod lvm-mod</B
> into your startup script OR
extend <TT
CLASS="filename"
>/etc/modules.conf</TT
> (formerly
<TT
CLASS="filename"
>/etc/conf.modules</TT
>) by adding
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; alias block-major-58 lvm-mod
alias char-major-109 lvm-mod
</PRE
></FONT
></TD
></TR
></TABLE
>
to enable modprobe to load the LVM module (don't forget to
enable kmod).
</P
><P
>&#13; Reboot and enjoy.
</P
></LI
></OL
>
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="trans1.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="upgradetolvmroot.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Transitioning from previous versions of LVM to LVM 1.0.8</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="trans1.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Upgrading to LVM 1.0.8 with an LVM root partition and initrd</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>