381 lines
5.7 KiB
HTML
381 lines
5.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Example: create a compatibility 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="Example: create an EVMS native volume"
|
|
HREF="crvolexcomp.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="FSIMs and file system operations"
|
|
HREF="evmsfsimops.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="crvolexcomp.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="evmsfsimops.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="crvolexevms"
|
|
></A
|
|
>12.3. Example: create a compatibility volume</H1
|
|
><P
|
|
>This section provides a detailed explanation of how to create a compatibility
|
|
volume with EVMS by providing instructions to help you complete the following task.</P
|
|
><A
|
|
NAME="AEN2000"
|
|
></A
|
|
><BLOCKQUOTE
|
|
CLASS="BLOCKQUOTE"
|
|
><DIV
|
|
CLASS="example"
|
|
><A
|
|
NAME="AEN2001"
|
|
></A
|
|
><P
|
|
><B
|
|
>Example 12-2. Create a compatibility volume</B
|
|
></P
|
|
><P
|
|
>Create a compatibility 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="guicompvol"
|
|
></A
|
|
>12.3.1. Using the GUI</H2
|
|
><P
|
|
>To create a compatibility volume, follow these steps:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select
|
|
<SPAN
|
|
CLASS="guimenu"
|
|
>Actions</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Create</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Compatibility Volume</SPAN
|
|
>.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Choose the region <TT
|
|
CLASS="filename"
|
|
>lvm/Sample Container/Sample Region</TT
|
|
>
|
|
from the list.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click the <SPAN
|
|
CLASS="guibutton"
|
|
>Create</SPAN
|
|
> button.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click the <SPAN
|
|
CLASS="guilabel"
|
|
>Volume</SPAN
|
|
> tab in the GUI to
|
|
see a volume named <TT
|
|
CLASS="filename"
|
|
>/dev/evms/lvm/Sample Container/Sample Region</TT
|
|
>.
|
|
This volume is your compatibility volume.</P
|
|
></LI
|
|
></OL
|
|
><P
|
|
>Alternatively, you can perform some of the steps to create a compatibility volume from
|
|
the GUI context sensitive menu:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>From the <SPAN
|
|
CLASS="guimenuitem"
|
|
>Available Objects</SPAN
|
|
> tab, right click
|
|
<TT
|
|
CLASS="filename"
|
|
>lvm/Sample Container/Sample Region</TT
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click <SPAN
|
|
CLASS="guimenuitem"
|
|
>Create Compatibility 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="ncurcompatvol"
|
|
></A
|
|
>12.3.2. Using Ncurses</H2
|
|
><P
|
|
>To create a compatibility volume, follow these steps:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select <SPAN
|
|
CLASS="guimenu"
|
|
>Actions</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Create</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Compatibility Volume</SPAN
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Choose the region <TT
|
|
CLASS="filename"
|
|
>lvm/Sample Container/Storage Region</TT
|
|
> from the list..
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Activate <SPAN
|
|
CLASS="guibutton"
|
|
>Create</SPAN
|
|
>.</P
|
|
></LI
|
|
></OL
|
|
><P
|
|
>Alternatively, you can perform some of the steps to create a compatibility 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 Compatibility 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="AEN2064"
|
|
></A
|
|
>12.3.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, <TT
|
|
CLASS="option"
|
|
>compatibility</TT
|
|
>, indicates that this is a compatibility
|
|
volume and should be named as such. </P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>Create:Volume,"lvm/Sample Container/Sample Region",compatibility</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="crvolexcomp.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="evmsfsimops.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Example: create an EVMS native 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"
|
|
>FSIMs and file system operations</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |