old-www/LDP/EVMSUG/html/crvolexcomp.html

391 lines
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Example: create an EVMS native volume</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="EVMS User Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Creating volumes"
HREF="evmscreatevol.html"><LINK
REL="PREVIOUS"
TITLE="When to create a volume"
HREF="x1913.html"><LINK
REL="NEXT"
TITLE="Example: create a compatibility volume"
HREF="crvolexevms.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"
>EVMS User Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x1913.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 12. Creating volumes</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="crvolexevms.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="crvolexcomp"
></A
>12.2. Example: create an EVMS native volume</H1
><P
>This section provides a detailed explanation of how to create an EVMS native
volume with EVMS by providing instructions to help you complete the following task.</P
><A
NAME="AEN1922"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><DIV
CLASS="example"
><A
NAME="AEN1923"
></A
><P
><B
>Example 12-1. Create an EVMS native volume </B
></P
><P
>Create an EVMS native volume called "Sample Volume" from the region, <TT
CLASS="filename"
>/lvm/Sample Container/Region</TT
>, you created in <A
HREF="evmscreatereg.html"
>Chapter 9</A
>.</P
></DIV
></BLOCKQUOTE
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="evmsguivol"
></A
>12.2.1. Using the EVMS GUI</H2
><P
>Follow these instructions to create an EVMS volume:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Select <SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Create</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>EVMS Volume</SPAN
>.</P
></LI
><LI
><P
>Choose <TT
CLASS="filename"
>lvm/Sample Container/Sample Region</TT
>.
</P
></LI
><LI
><P
>Type <TT
CLASS="userinput"
><B
>Sample Volume</B
></TT
> in the
<SPAN
CLASS="guilabel"
>name field</SPAN
>.</P
></LI
><LI
><P
>Click <SPAN
CLASS="guibutton"
>Create</SPAN
>.</P
></LI
></OL
><P
>Alternatively, you can perform some of the steps to create an EVMS
volume from the GUI context sensitive menu:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>From the <SPAN
CLASS="guimenuitem"
>Available Options</SPAN
> tab, right click
<TT
CLASS="filename"
>lvm/Sample Container/Sample Region</TT
>.</P
></LI
><LI
><P
>Click <SPAN
CLASS="guimenuitem"
>Create EVMS Volume...</SPAN
></P
></LI
><LI
><P
>Continue beginning with step 3 of the GUI instructions.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="ncurevmsvol"
></A
>12.2.2. Using Ncurses</H2
><P
>To create a volume, follow these steps:
<P
></P
><OL
TYPE="1"
><LI
><P
>Select <SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Create</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>EVMS Volume</SPAN
>.</P
></LI
><LI
><P
>Enter <TT
CLASS="userinput"
><B
>Sample Volume</B
></TT
> at the "name" prompt.
Press <B
CLASS="keycap"
>Enter</B
>.</P
></LI
><LI
><P
>Activate <SPAN
CLASS="guibutton"
>Create</SPAN
>.</P
></LI
></OL
>
</P
><P
>Alternatively, you can perform some of the steps to create an EVMS volume
from the context sensitive menu:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>From the Available Objects view, press <B
CLASS="keycap"
>Enter</B
> on
<TT
CLASS="filename"
>lvm/Sample Container/Sample Region</TT
>.</P
></LI
><LI
><P
>Activate the <SPAN
CLASS="guimenuitem"
>Create EVMS Volume</SPAN
> menu item.</P
></LI
><LI
><P
>Continue beginning with step 3 of the Ncurses instructions.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN1987"
></A
>12.2.3. Using the CLI</H2
><P
>To create a volume, use the <B
CLASS="command"
>Create</B
> command. The arguments
the <B
CLASS="command"
>Create</B
> command accepts vary depending on what is being created. In
the case of the example, the first argument is the key word <TT
CLASS="option"
>volume</TT
> that
specifies what is being created. The second argument is the object being made into a volume,
in this case <TT
CLASS="option"
>lvm/Sample Container/Sample Region</TT
>.
The third argument is type specific for an EVMS
volume, <TT
CLASS="option"
>Name=</TT
>, followed by what
you want to call the volume, in this case <TT
CLASS="option"
>Sample Volume</TT
>. The following command
creates the volume from the example. </P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>Create: Volume, "lvm/Sample Container/Sample Region", Name="Sample Volume"</PRE
></FONT
></TD
></TR
></TABLE
></DIV
></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="x1913.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="crvolexevms.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>When to create a volume</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="evmscreatevol.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Example: create a compatibility volume</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>