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

510 lines
6.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Example: add drive linking to an existing 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="Adding features to an existing volume"
HREF="addfeatures.html"><LINK
REL="PREVIOUS"
TITLE="Why add features to a volume?"
HREF="whyadd.html"><LINK
REL="NEXT"
TITLE="Selectively activating volumes and objects"
HREF="selectact.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="whyadd.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 17. Adding features to an existing volume</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="selectact.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="exaddfeature"
></A
>17.2. Example: add drive linking to an existing volume</H1
><P
> The following example shows how to add drive linking to a volume with
the EVMS GUI, Ncurses, and CLI interfaces.
</P
><A
NAME="AEN3409"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><DIV
CLASS="example"
><A
NAME="AEN3410"
></A
><P
><B
>Example 17-1. Add drive linking to an existing volume</B
></P
><P
>The following sections show how to add a drive link to volume
<TT
CLASS="filename"
>/dev/evms/vol</TT
> and call the drive link "DL."
</P
></DIV
><P
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>NOTE</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Drive linking can be done only on
EVMS volumes; therefore, <TT
CLASS="filename"
>/dev/evms/vol</TT
> must be converted to an EVMS volume if it is not
already. </P
></TD
></TR
></TABLE
></DIV
></P
></BLOCKQUOTE
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="addfeaturegui"
></A
>17.2.1. Using the EVMS GUI</H2
><P
>Follow these steps to add a drive link to the volume with the EVMS GUI:
<P
></P
><OL
TYPE="1"
><LI
><P
>Select <SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Add</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Feature to Volume</SPAN
>.
</P
></LI
><LI
><P
>Select <SPAN
CLASS="guimenuitem"
>/dev/evms/vol</SPAN
>
</P
></LI
><LI
><P
>Click <SPAN
CLASS="guibutton"
>Next</SPAN
>.
</P
></LI
><LI
><P
>Select <SPAN
CLASS="guimenuitem"
>Drive Linking Feature</SPAN
>.
</P
></LI
><LI
><P
>Click <SPAN
CLASS="guibutton"
>Next</SPAN
>.
</P
></LI
><LI
><P
>Type <TT
CLASS="userinput"
><B
>DL</B
></TT
> in the Name Field.</P
></LI
><LI
><P
>Click <SPAN
CLASS="guibutton"
>Add</SPAN
>.</P
></LI
></OL
>
</P
><P
>Alternatively, you can perform some of the steps to add a drive link with the GUI
context sensitive menu:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>From the <SPAN
CLASS="guimenuitem"
>Volumes</SPAN
> tab, right click
<TT
CLASS="filename"
>/dev/evms/vol</TT
>.</P
></LI
><LI
><P
>Click <SPAN
CLASS="guimenuitem"
>Add feature...</SPAN
></P
></LI
><LI
><P
>Continue adding the drive link beginning with step 3 of the
GUI instructions.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="addfeaturesncurses"
></A
>17.2.2. Using Ncurses</H2
><P
>Follow these steps to add a drive link to a volume with Ncurses:
<P
></P
><OL
TYPE="1"
><LI
><P
>Select <SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Add</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Feature to Volume</SPAN
>.
</P
></LI
><LI
><P
>Select
<SPAN
CLASS="guimenuitem"
>/dev/evms/vol</SPAN
>.
</P
></LI
><LI
><P
>Activate <SPAN
CLASS="guibutton"
>Next</SPAN
>.
</P
></LI
><LI
><P
>Select
<SPAN
CLASS="guimenuitem"
>Drive Linking Feature</SPAN
>.
</P
></LI
><LI
><P
>Activate <SPAN
CLASS="guibutton"
>Next</SPAN
>.
</P
></LI
><LI
><P
>Press <B
CLASS="keycap"
>Spacebar</B
> to edit the Name field.
</P
></LI
><LI
><P
>At the "::" prompt enter <TT
CLASS="userinput"
><B
>DL</B
></TT
>.
</P
></LI
><LI
><P
>Press <B
CLASS="keycap"
>Enter</B
>.
</P
></LI
><LI
><P
>Activate <SPAN
CLASS="guibutton"
>Add</SPAN
>.</P
></LI
></OL
>
</P
><P
>Alternatively, you can perform some of the steps to add a drive link with the
context sensitive menu:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>From the Volumes view, press <B
CLASS="keycap"
>Enter</B
> on <SPAN
CLASS="guimenuitem"
>/dev/evms/vol</SPAN
>.</P
></LI
><LI
><P
>Activate the <SPAN
CLASS="guimenuitem"
>Add feature</SPAN
> menu item.</P
></LI
><LI
><P
>Continue adding the drive link beginning with step 3 of the Ncurses instructions.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="addfeaturescli"
></A
>17.2.3. Using the CLI</H2
><P
>Use the
<B
CLASS="command"
>add feature</B
> to add a feature to an existing volume.
Specify the command name followed by a colon, followed by any options
and the volume to operate on. To determine the options for a given
feature, use the following query:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>query: plugins, plugin=DriveLink, list options</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;The option names and descriptions are listed to help you construct
your command. For our example, the command would look like the following:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>add feature: DriveLink={ Name="DL }, /dev/evms/vol</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="whyadd.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="selectact.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Why add features to a volume?</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="addfeatures.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Selectively activating volumes and objects</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>