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

228 lines
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>LVM 1 Boot time scripts</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="LVM HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Build the LVM 1 kernel module"
HREF="buildlvmmod.html"><LINK
REL="NEXT"
TITLE="Caldera"
HREF="initscriptcaldera.html"></HEAD
><BODY
CLASS="chapter"
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="buildlvmmod.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="initscriptcaldera.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="boot_scripts"
></A
>Chapter 7. LVM 1 Boot time scripts</H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>7.1. <A
HREF="initscriptcaldera.html"
>Caldera</A
></DT
><DT
>7.2. <A
HREF="initscriptdebian.html"
>Debian</A
></DT
><DT
>7.3. <A
HREF="initscriptmandrake.html"
>Mandrake</A
></DT
><DT
>7.4. <A
HREF="initscriptredhat.html"
>Redhat</A
></DT
><DT
>7.5. <A
HREF="initscriptslackware.html"
>Slackware</A
></DT
><DT
>7.6. <A
HREF="initscriptsuse.html"
>SuSE</A
></DT
></DL
></DIV
><P
>&#13; Boot-time scripts are not provided as part of the LVM distribution,
however these are quite simple to do for yourself.
</P
><P
>&#13; The startup of LVM requires just the following two commands:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<B
CLASS="command"
> # vgscan
# vgchange -ay </B
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13; And the shutdown only one:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;<B
CLASS="command"
> # vgchange -an</B
>
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13; Follow the instructions below depending on the distribution of
Linux you are running.
</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="buildlvmmod.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="initscriptcaldera.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Build the LVM 1 kernel module</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Caldera</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>