LDP/LDP/guide/docbook/EVMSUG/mount-unmount.xml

406 lines
12 KiB
XML

<chapter id="mountunmount"><title>Mounting and unmounting volumes from within EVMS</title>
<para>
Some volume operations, such as expanding and shrinking, may require that
the volume be mounted or unmounted before you can perform the operation.
EVMS lets you mount and unmount volumes from within EVMS without having
to go to a separate terminal session.
</para>
<para>
EVMS performs the mount and unmount operations immediately.
It does not wait until the changes are saved.
</para>
<sect1 id="mntvol"><title>Mounting a volume</title>
<para>This section tells how to mount a volume through the various EVMS
user interfaces.
</para>
<sect2 id="mntgui"><title>Using the EVMS GUI</title>
<para>Follow these steps to mount a volume with the EVMS GUI:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu>
<guimenuitem>File System</guimenuitem>
<guimenuitem>Mount</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume you want to mount.
</para></listitem>
<listitem><para>In the Mount Point box, enter the directory
on which you want to mount the volume.
</para>
</listitem>
<listitem><para>Click <guibutton>Options</guibutton> if you
want to enter additional options for the mount.
</para></listitem>
<listitem><para>Click <guibutton>Mount</guibutton>.
</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can mount a volume from the EVMS GUI
context sensitive menu:</para>
<orderedlist>
<listitem><para>Right click the volume you want to mount.
</para></listitem>
<listitem><para>Click <guimenuitem>Mount...</guimenuitem></para></listitem>
<listitem><para>In the Mount Point box, enter the directory
on which you want to mount the volume.
</para></listitem>
<listitem><para>
Click <guibutton>Options</guibutton> if you want to enter
additional options for the mount.</para></listitem>
<listitem><para>
Click <guibutton>Mount</guibutton>.</para></listitem>
</orderedlist>
</sect2>
<!-- Ncurses-->
<sect2 id="mountncurses"><title>Using Ncurses</title>
<para>Follow these steps to mount a volume with Ncurses:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu><guimenuitem>File System</guimenuitem><guimenuitem>Mount...</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume you want to mount.</para></listitem>
<listitem><para>At the Mount Point prompt, enter the directory
on which you want to mount the volume and press <keycap>Enter</keycap>.</para></listitem>
<listitem><para>Select <guimenuitem>Mount Options</guimenuitem>
if you want to enter
additional options for the mount.</para></listitem>
<listitem><para>Select <guibutton>Mount</guibutton>.</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can mount a volume with the Ncurses
context-sensitive menu:</para>
<orderedlist>
<listitem><para>Highlight the volume you want to mount and press <keycap>Enter</keycap>.
</para></listitem>
<listitem><para>Select <guimenuitem>Mount File System</guimenuitem>.</para>
</listitem>
<listitem><para>At the Mount Point prompt, enter the directory on which you
want to mount the volume and press <keycap>Enter</keycap>.
</para>
</listitem>
<listitem>
<para>
Select <guimenuitem>Mount Options</guimenuitem> if you want to enter
additional options for the mount.
</para>
</listitem>
<listitem>
<para>
Select <guimenuitem>Mount</guimenuitem>.
</para>
</listitem>
</orderedlist>
</sect2>
<sect2><title>Using the CLI</title>
<para>To mount a volume with the CLI, use the following command:</para>
<programlisting>mount:&lt;volume&gt;, &lt;mount point&gt;, [ &lt;mount options&gt; ]</programlisting>
<para>&lt;volume&gt; is the name of the volume to be mounted.</para>
<para>&lt;mount point&gt; is the name of the directory on which to mount the volume.</para>
<para>&lt;mount options&gt; is a string of options to be passed to the &lt;command&gt;mount&lt;/command&gt;
command.</para>
</sect2>
</sect1>
<sect1><title>Unmounting a volume</title>
<para>This section tells how to unmount a volume through the various EVMS user interfaces.</para>
<sect2><title>Using the EVMS GUI</title>
<para>Follow these steps to unmount a volume with the EVMS GUI:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu>
<guimenuitem>File System</guimenuitem>
<guimenuitem>Unmount</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume you want to unmount.
</para></listitem>
<listitem><para>Click <guibutton>Unmount</guibutton>.
</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can unmount a volume from the EVMS GUI
context sensitive menu:</para>
<orderedlist>
<listitem><para>Right click the volume you want to unmount.
</para></listitem>
<listitem><para>Click <guimenuitem>Unmount...</guimenuitem></para></listitem>
<listitem><para>
Click <guibutton>Unmount</guibutton>.</para></listitem>
</orderedlist>
</sect2>
<!-- Ncurses-->
<sect2 id="unmountncurses"><title>Using Ncurses</title>
<para>Follow these steps to unmount a volume with Ncurses:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu><guimenuitem>File System</guimenuitem><guimenuitem>Unmount...</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume you want to unmount.</para></listitem>
<listitem><para>Select <guibutton>Unmount</guibutton>.</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can unmount a volume with the Ncurses
context-sensitive menu:</para>
<orderedlist>
<listitem><para>Highlight the volume you want to unmount and press <keycap>Enter</keycap>.
</para></listitem>
<listitem><para>Select <guimenuitem>Unmount File System....</guimenuitem>.</para>
</listitem>
<listitem>
<para>
Select <guimenuitem>Unmount</guimenuitem>.
</para>
</listitem>
</orderedlist>
</sect2>
<sect2><title>Using the CLI</title>
<para>To unmount a volume with the CLI, use the following command:</para>
<programlisting>unmount:&lt;volume&gt;</programlisting>
<para>&lt;volume&gt; is the name of the volume to be unmounted.</para>
</sect2></sect1>
<sect1><title>The SWAPFS file system</title>
<para>A volume with the SWAPFS file system is not mounted or unmounted.
Rather, swapping is turned on for the volume using the
<command>sbin/swapon</command> command and turned off using the
&lt;command&gt;sbin/swapoff&lt;/command&gt;. EVMS lets you turn swapping on or off
for a volume from within EVMS without having to go to a separate terminal session.</para>
<para>As with mounting and unmounting, EVMS performs the swapon and swapoff
operations immediately. It does not wait until the changes are saved.</para>
<sect2><title>Turning swap on</title>
<para>This section tells how to turn swap on using the various EVMS user interfaces.</para>
<sect3><title>Using the EVMS GUI</title>
<para>Follow these steps to turn swap on with the EVMS GUI:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu>
<guimenuitem>Other</guimenuitem>
<guimenuitem>Volume tasks...</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume you want to turn on swapping and click <guibutton>Next</guibutton>.
</para></listitem>
<listitem><para>Select &quot;Swap on&quot; and click <guibutton>Next</guibutton>.</para>
</listitem>
<listitem><para>Select the priority for the swap. If you select &quot;High&quot; you will
get an additional prompt for the priority level.
The priority level must be a number in the range of 0 to 32767.
The default is 0.</para></listitem>
<listitem><para>Click <guibutton>Swap on</guibutton>.</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can turn swap on from the EVMS GUI
context-sensitive menu:</para>
<orderedlist>
<listitem><para>Right click the volume with the SWAPFS you want to turn on.</para></listitem>
<listitem><para>Click <guimenuitem>Swap on...</guimenuitem></para></listitem>
<listitem><para>Select the priority for the swap. If you select &quot;High&quot; you will get an
additional prompt for the priority level. The priority level must be a number
in the range of 0 to 32767. The default is 0.</para></listitem>
<listitem><para>
Click <guibutton>Swap on</guibutton>.</para></listitem>
</orderedlist>
</sect3>
<sect3><title>Using Ncurses</title>
<para>Follow these steps to turn swap on with Ncurses:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu><guimenuitem>Other</guimenuitem><guimenuitem>Volume tasks...</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume on which you want to turn on swapping and select
<guibutton>Next</guibutton>.</para></listitem>
<listitem><para>Select &quot;Swap on&quot; and select <guibutton>Next</guibutton>.</para></listitem>
<listitem><para>Select the priority for the swap. If you select &quot;High&quot; you will get an
additional prompt for the priority level. The priority level must be a number in
the range of 0 to 32767. The default is 0.</para></listitem>
<listitem><para>Select &quot;Swap on.&quot;</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can turn swap on with the Ncurses
context-sensitive menu:</para>
<orderedlist>
<listitem><para>Highlight the volume with the SWAPFS you want to turn on.
</para></listitem>
<listitem><para>Select &quot;Swap on....&quot;</para>
</listitem>
<listitem>
<para>
Select the priority for the swap. If you select &quot;High&quot; you will get an
additional prompt for the priority level. The priority level must be a number in
the range of 0 to 32767. The default is 0.
</para>
</listitem>
<listitem><para>Select &quot;Swap on.&quot;</para></listitem>
</orderedlist>
</sect3>
<sect3><title>Using the CLI</title>
<para>To turn swap on with the CLI, use the following command:</para>
<programlisting>
Task: swapon, &lt;volume&gt;[, priority=low | , priority=high [level=0..32767]]
</programlisting>
<para>&lt;volume&gt; is the name of the volume with SWAPFS you want to turn on.</para>
</sect3>
</sect2>
<sect2><title>Turning swap off</title>
<para>This section tells how to turn swap off using the various EVMS user interfaces.</para>
<sect3><title>Using the EVMS GUI</title>
<para>Follow these steps to turn swap off with the EVMS GUI:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu>
<guimenuitem>Other</guimenuitem>
<guimenuitem>Volume tasks...</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume you want to turn off swapping and click <guibutton>Next</guibutton>.
</para></listitem>
<listitem><para>Select &quot;Swap off&quot; and click <guibutton>Next</guibutton>.</para>
</listitem>
<listitem><para>Click <guibutton>Swap off</guibutton>.</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can turn swap off from the EVMS GUI
context-sensitive menu:</para>
<orderedlist>
<listitem><para>Right click the volume with the SWAPFS you want to turn off.</para></listitem>
<listitem><para>Click <guimenuitem>Swap off...</guimenuitem></para></listitem>
<listitem><para>
Click <guibutton>Swap off</guibutton>.</para></listitem>
</orderedlist>
</sect3>
<sect3><title>Using Ncurses</title>
<para>Follow these steps to turn swap off with Ncurses:
<orderedlist>
<listitem><para>Select <menuchoice><guimenu>Actions</guimenu><guimenuitem>Other</guimenuitem><guimenuitem>Volume tasks...</guimenuitem></menuchoice>.
</para></listitem>
<listitem><para>Select the volume on which you want to turn off swapping and select
<guibutton>Next</guibutton>.</para></listitem>
<listitem><para>Select &quot;Swap off&quot; and select <guibutton>Next</guibutton>.</para></listitem>
<listitem><para>Select &quot;Swap off.&quot;</para></listitem>
</orderedlist>
</para>
<para>Alternatively, you can turn swap on with the Ncurses
context-sensitive menu:</para>
<orderedlist>
<listitem><para>Highlight the volume with the SWAPFS you want to turn off.
</para></listitem>
<listitem><para>Select &quot;Swap off....&quot;</para>
</listitem>
<listitem><para>Select &quot;Swap off.&quot;</para>
</listitem>
</orderedlist>
</sect3>
<sect3><title>Using the CLI</title>
<para>To turn swap on with the CLI, use the following command:</para>
<programlisting>
Task: swapoff, &lt;volume&gt;
</programlisting>
<para>&lt;volume&gt; is the name of the volume with SWAPFS you want to turn off.</para>
</sect3>
</sect2>
</sect1>
</chapter>