474 lines
6.4 KiB
HTML
474 lines
6.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Example: create a drive link</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 drive links"
|
|
HREF="evmscreatedrivelinking.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Creating a drive link"
|
|
HREF="x1453.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Expanding a drive link"
|
|
HREF="expandpartitions.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="x1453.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 10. Creating drive links</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="expandpartitions.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="drivelinkex"
|
|
></A
|
|
>10.4. Example: create a drive link</H1
|
|
><P
|
|
> This section shows how to create a drive link with EVMS:</P
|
|
><A
|
|
NAME="AEN1460"
|
|
></A
|
|
><BLOCKQUOTE
|
|
CLASS="BLOCKQUOTE"
|
|
><DIV
|
|
CLASS="example"
|
|
><A
|
|
NAME="AEN1461"
|
|
></A
|
|
><P
|
|
><B
|
|
>Example 10-1. Create a drive link</B
|
|
></P
|
|
><P
|
|
>Create a new drive link consisting of <TT
|
|
CLASS="filename"
|
|
>sde4</TT
|
|
> and <TT
|
|
CLASS="filename"
|
|
>hdc2</TT
|
|
>, and call it "dl."</P
|
|
></DIV
|
|
></BLOCKQUOTE
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="guidrivelinking"
|
|
></A
|
|
>10.4.1. Using the EVMS GUI</H2
|
|
><P
|
|
>To create the drive link using the GUI, follow these steps:
|
|
<P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select
|
|
<SPAN
|
|
CLASS="guimenu"
|
|
>Actions</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Create</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Feature Object</SPAN
|
|
>
|
|
to see a list of EVMS features.
|
|
</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
|
|
>Click the objects you want to compose the drive link:
|
|
sde4 and hdc2.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click <SPAN
|
|
CLASS="guibutton"
|
|
>Next</SPAN
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Type <TT
|
|
CLASS="filename"
|
|
>dl</TT
|
|
> in the "name" field</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click
|
|
<SPAN
|
|
CLASS="guibutton"
|
|
>Create</SPAN
|
|
>. </P
|
|
><P
|
|
>The last dialog window
|
|
presents the free space object you
|
|
selected as well as the available
|
|
configuration options for that
|
|
object.</P
|
|
></LI
|
|
></OL
|
|
></P
|
|
><P
|
|
>Alternatively, you can perform some of the steps to create a drive link with 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"
|
|
>sde4</TT
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click <SPAN
|
|
CLASS="guimenuitem"
|
|
>Create Feature Object...</SPAN
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Continue creating the drive link beginning with step 2 of the GUI
|
|
instructions. In step 4, <TT
|
|
CLASS="filename"
|
|
>sde4</TT
|
|
> is selected for you. You can also
|
|
select <TT
|
|
CLASS="filename"
|
|
>hdc2</TT
|
|
>.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="ncursdrivelink"
|
|
></A
|
|
>10.4.2. Using Ncurses</H2
|
|
><P
|
|
>To create the drive link, 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"
|
|
>Feature Object</SPAN
|
|
> to see a list of EVMS features.</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
|
|
>Use <B
|
|
CLASS="keycap"
|
|
>spacebar</B
|
|
>
|
|
to select the objects you want to compose the drive
|
|
link from: <TT
|
|
CLASS="filename"
|
|
>sde4</TT
|
|
> and <TT
|
|
CLASS="filename"
|
|
>hdc2</TT
|
|
>.</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
|
|
>Type <TT
|
|
CLASS="userinput"
|
|
><B
|
|
>dl</B
|
|
></TT
|
|
> at the "::" prompt.
|
|
Press <B
|
|
CLASS="keycap"
|
|
>Enter</B
|
|
>.</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 drive link with 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"
|
|
>sde4</TT
|
|
>.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Activate the <SPAN
|
|
CLASS="guimenuitem"
|
|
>Create Feature Object</SPAN
|
|
> menu item.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Continue creating the drive link beginning with step 4 of the Ncurses
|
|
instructions. <TT
|
|
CLASS="filename"
|
|
>sde4</TT
|
|
> will be pre-selected. You can also select <TT
|
|
CLASS="filename"
|
|
>hdc2</TT
|
|
>.</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="drlinkseg"
|
|
></A
|
|
>10.4.3. Using the CLI</H2
|
|
><P
|
|
>Use the
|
|
<B
|
|
CLASS="command"
|
|
>create</B
|
|
> command to create a drive link through the CLI. You pass the "object" keyword to the <B
|
|
CLASS="command"
|
|
>create</B
|
|
> command, followed by the plug-in and its options, and finally the objects.</P
|
|
><P
|
|
>To determine the options for the plug-in you are going to use, issue the following command:</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
|
|
>Now construct the <B
|
|
CLASS="command"
|
|
>create</B
|
|
> command, as follows:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>create: object, DriveLink={Name=dl}, sde4, hdc2</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="x1453.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="expandpartitions.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Creating a drive link</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="evmscreatedrivelinking.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Expanding a drive link</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |