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

425 lines
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Example: check a file system</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="FSIMs and file system operations"
HREF="evmsfsimops.html"><LINK
REL="PREVIOUS"
TITLE="Example: add a file system to a volume"
HREF="fsimmkfs.html"><LINK
REL="NEXT"
TITLE="Clustering operations"
HREF="clusterops.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="fsimmkfs.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 13. FSIMs and file system operations</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="clusterops.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="fsimmkfsaex"
></A
>13.3. Example: check a file system</H1
><P
>You can also coordinate file system checks from the EVMS user interfaces.</P
><A
NAME="AEN2276"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><DIV
CLASS="example"
><A
NAME="AEN2277"
></A
><P
><B
>Example 13-2. Check a JFS File System</B
></P
><P
>This example shows how to perform a file system check on a JFS file system, named <TT
CLASS="filename"
>jfs_vol</TT
>, on volume <TT
CLASS="filename"
>/dev/evms/my_vol</TT
>, with verbose output.
</P
></DIV
></BLOCKQUOTE
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="FSIMmkfsgui"
></A
>13.3.1. Using the EVMS GUI</H2
><P
>Follow these steps to check a JFS file system with the EVMS GUI:
<P
></P
><OL
TYPE="1"
><LI
><P
>Select <SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>File Systems</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Check/Repair</SPAN
>.
</P
></LI
><LI
><P
>Select <SPAN
CLASS="guimenu"
>/dev/evms/my_vol</SPAN
>.
</P
></LI
><LI
><P
>Click <SPAN
CLASS="guibutton"
>Next</SPAN
>.
</P
></LI
><LI
><P
>Click the <B
CLASS="keycap"
>Yes</B
> button by <SPAN
CLASS="guimenu"
>Verbose Output</SPAN
>.
Customize any other options you are interested in.
</P
></LI
><LI
><P
>Click <SPAN
CLASS="guibutton"
>Check</SPAN
>.
</P
></LI
><LI
><P
>The operation is completed when you save.</P
></LI
></OL
>
</P
><P
>Alternatively, you can perform some of the steps to check a file system 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/my_vol</TT
>.</P
></LI
><LI
><P
>Click <TT
CLASS="filename"
>Check/Repair File System...</TT
>
</P
></LI
><LI
><P
>Continue checking the file system beginning with step 3 of the
GUI instructions.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="fsimfsckncurses"
></A
>13.3.2. Using Ncurses</H2
><P
>Follow these steps to check a JFS file system with Ncurses:
<P
></P
><OL
TYPE="1"
><LI
><P
>Select <SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>File System</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Check/Repair</SPAN
>
</P
></LI
><LI
><P
>Select
<TT
CLASS="filename"
> /dev/evms/my_vol</TT
>.
</P
></LI
><LI
><P
>Activate <SPAN
CLASS="guibutton"
>Next</SPAN
>.
</P
></LI
><LI
><P
>Scroll down using the <B
CLASS="keycap"
>down</B
> arrow until
<SPAN
CLASS="guimenuitem"
>Verbose Output</SPAN
> is highlighted.
</P
></LI
><LI
><P
>Press <B
CLASS="keycap"
>Spacebar</B
> to change <SPAN
CLASS="guimenuitem"
>Verbose Output</SPAN
> to <B
CLASS="keycap"
>Yes</B
>.
</P
></LI
><LI
><P
>Activate <SPAN
CLASS="guibutton"
>Check</SPAN
>.
</P
></LI
></OL
>
</P
><P
>Alternatively, you can perform some of the steps to check a file system with the
context sensitive menu:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>From the Volumes view, press <B
CLASS="keycap"
>Enter</B
> on <TT
CLASS="filename"
>/dev/evms/my_vol</TT
>.</P
></LI
><LI
><P
>Activate the <SPAN
CLASS="guimenuitem"
>Check/Repair File System</SPAN
> menu item.</P
></LI
><LI
><P
>Continue checking the file system beginning with step 3 of the Ncurses
instructions.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="FSIMmkfscli"
></A
>13.3.3. Using the CLI</H2
><P
>The CLI <B
CLASS="command"
>check</B
> command takes a volume name and options as
input. The command to check the file system on <TT
CLASS="filename"
>/dev/evms/my_vol</TT
> is the following:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>check: /dev/evms/my_vol, verbose=TRUE</PRE
></FONT
></TD
></TR
></TABLE
><P
>Currently, a query command for viewing additional options is not available.</P
></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="fsimmkfs.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="clusterops.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Example: add a file system to a volume</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="evmsfsimops.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Clustering operations</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>