openafs/doc/html/AdminReference/auarf250.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

116 lines
6.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf249.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf251.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRVOLINFO" HREF="auarf002.htm#ToC_264">volinfo</A></H2>
<A NAME="IDX5564"></A>
<A NAME="IDX5565"></A>
<P><STRONG>Purpose</STRONG>
<P>Produces detailed statistics about one or more volume headers and the
partition that houses them
<P><STRONG>Synopsis</STRONG>
<PRE><B>volinfo</B> [<B>-online</B>] [<B>-vnode</B>] [<B>-date</B>] [<B>-inode</B>] [<B>-itime</B>]
[<B>-part</B> &lt;<VAR>AFS&nbsp;partition name&nbsp;(default&nbsp;current&nbsp;partition)</VAR>><SUP>+</SUP>]
[<B>-volumeid</B> &lt;<VAR>Volume&nbsp;id</VAR>><SUP>+</SUP>] [<B>-header</B>] [<B>-sizeOnly</B>] [<B>-fixheader</B>]
[<B>-saveinodes</B>] [<B>-orphaned</B>] [<B>-help</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>volinfo</B> command displays detailed statistics about one or
more volume headers and the partition that houses them. The command
must be issued on a file server machine and by default produces output for
every volume on every AFS server partition on the machine. To display
output for the volumes on one partition only, include the <B>-part</B>
argument. To display output for one volume only, include the
<B>-volumeid</B> argument.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-online
</B><DD>Is nonoperational.
<P><DT><B>-vnode
</B><DD>Displays a table for each volume which lists the large (directory) and
small (file) vnodes in it, in addition to the default output.
<P><DT><B>-date
</B><DD>When combined with the <B>-vnode</B> flag, adds the
<TT>ServerModTime</TT> field to each vnode entry in the large vnode and
small vnode tables, reporting its most recent modification time.
<P><DT><B>-inode
</B><DD>When combined with the <B>-vnode</B> flag, adds the <TT>inode</TT>
field to each vnode entry in the large vnode and small vnode tables, reporting
the associated inode number.
<P><DT><B>-itime
</B><DD>When combined with the <B>-vnode</B> flag, displays a change,
modification, and access timestamp for each of the large vnode and small vnode
tables.
<P><DT><B>-part
</B><DD>Specifies the partition that houses each volume for which to produce
output. Use the format <B>/vicep</B><VAR>xx</VAR>, where <VAR>xx</VAR>
is one or two lowercase letters. This argument can be omitted if the
current working directory is the mount location for an AFS server
partition; it is not the mount location for an AFS server partition, the
command produces output for every volume on all local AFS server
partitions.
<P><DT><B>-volumeid
</B><DD>Specifies the ID number of one volume for which to produce output.
The <B>-part</B> argument must be provided along with this one unless the
current working directory is the mount location for the AFS server partition
that houses the volume.
<P><DT><B>-header
</B><DD>Displays statistics about the volume header of each volume, in addition to
the default output.
<P><DT><B>-sizeOnly
</B><DD>Displays a single line of output for each volume, reporting the size of
various structures associated with it. The default output is suppressed
and any flags that modify it (such as <B>-vnode</B>) are ignored.
<P><DT><B>-fixheader
</B><DD>Repairs damaged inodes in each volume if possible. If there are
any, it reports the action it is taking to repair them. Otherwise, it
produces no output in addition to the default output.
<P><DT><B>-saveinodes
</B><DD>Creates a file in the current working directory for each inode in each
volume. Each file is called
<B>TmpInode.</B><VAR>vnode_number</VAR> and contains the inode's
contents. The default output is suppressed and any flags that modify it
(such as <B>-vnode</B>) are ignored.
<P><DT><B>-orphaned
</B><DD>Displays a large vnode and small vnode table for each volume, which lists
only orphaned vnodes (vnodes that have no parent). If there are none,
the tables are empty (only the headers appear).
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Output</STRONG>
<P>By default, the command produces several line of statistics for each
volume. Adding other options produces or substitutes additional
information as described in the preceding <B>Options</B> section of this
reference page. The output is intended for debugging purposes and is
meaningful to someone familiar with the internal structure of volume
headers.
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be logged in as the local superuser <B>root</B>.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf051.htm#HDRVLDBDB">vldb.DB0 and vldb.DBSYS1</A>
<P><A HREF="auarf251.htm#HDRVOLSERVER">volserver</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf249.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf251.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>