windows-issues-20050925
[openafs.git] / doc / html / AdminReference / auarf250.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <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> 
17 <P>
18 <H2><A NAME="HDRVOLINFO" HREF="auarf002.htm#ToC_264">volinfo</A></H2>
19 <A NAME="IDX5564"></A>
20 <A NAME="IDX5565"></A>
21 <P><STRONG>Purpose</STRONG>
22 <P>Produces detailed statistics about one or more volume headers and the
23 partition that houses them
24 <P><STRONG>Synopsis</STRONG>
25 <PRE><B>volinfo</B> [<B>-online</B>]  [<B>-vnode</B>]  [<B>-date</B>]  [<B>-inode</B>] [<B>-itime</B>]  
26         [<B>-part</B>  &lt;<VAR>AFS&nbsp;partition name&nbsp;(default&nbsp;current&nbsp;partition)</VAR>><SUP>+</SUP>]   
27         [<B>-volumeid</B> &lt;<VAR>Volume&nbsp;id</VAR>><SUP>+</SUP>]  [<B>-header</B>]  [<B>-sizeOnly</B>]  [<B>-fixheader</B>]  
28         [<B>-saveinodes</B>]  [<B>-orphaned</B>]  [<B>-help</B>]
29 </PRE>
30 <P><STRONG>Description</STRONG>
31 <P>The <B>volinfo</B> command displays detailed statistics about one or
32 more volume headers and the partition that houses them. The command
33 must be issued on a file server machine and by default produces output for
34 every volume on every AFS server partition on the machine. To display
35 output for the volumes on one partition only, include the <B>-part</B>
36 argument. To display output for one volume only, include the
37 <B>-volumeid</B> argument.
38 <P><STRONG>Options</STRONG>
39 <DL>
40 <P><DT><B>-online
41 </B><DD>Is nonoperational.
42 <P><DT><B>-vnode
43 </B><DD>Displays a table for each volume which lists the large (directory) and
44 small (file) vnodes in it, in addition to the default output.
45 <P><DT><B>-date
46 </B><DD>When combined with the <B>-vnode</B> flag, adds the
47 <TT>ServerModTime</TT> field to each vnode entry in the large vnode and
48 small vnode tables, reporting its most recent modification time.
49 <P><DT><B>-inode
50 </B><DD>When combined with the <B>-vnode</B> flag, adds the <TT>inode</TT>
51 field to each vnode entry in the large vnode and small vnode tables, reporting
52 the associated inode number.
53 <P><DT><B>-itime
54 </B><DD>When combined with the <B>-vnode</B> flag, displays a change,
55 modification, and access timestamp for each of the large vnode and small vnode
56 tables.
57 <P><DT><B>-part
58 </B><DD>Specifies the partition that houses each volume for which to produce
59 output. Use the format <B>/vicep</B><VAR>xx</VAR>, where <VAR>xx</VAR>
60 is one or two lowercase letters. This argument can be omitted if the
61 current working directory is the mount location for an AFS server
62 partition; it is not the mount location for an AFS server partition, the
63 command produces output for every volume on all local AFS server
64 partitions.
65 <P><DT><B>-volumeid
66 </B><DD>Specifies the ID number of one volume for which to produce output.
67 The <B>-part</B> argument must be provided along with this one unless the
68 current working directory is the mount location for the AFS server partition
69 that houses the volume.
70 <P><DT><B>-header
71 </B><DD>Displays statistics about the volume header of each volume, in addition to
72 the default output.
73 <P><DT><B>-sizeOnly
74 </B><DD>Displays a single line of output for each volume, reporting the size of
75 various structures associated with it. The default output is suppressed
76 and any flags that modify it (such as <B>-vnode</B>) are ignored.
77 <P><DT><B>-fixheader
78 </B><DD>Repairs damaged inodes in each volume if possible. If there are
79 any, it reports the action it is taking to repair them. Otherwise, it
80 produces no output in addition to the default output.
81 <P><DT><B>-saveinodes
82 </B><DD>Creates a file in the current working directory for each inode in each
83 volume. Each file is called
84 <B>TmpInode.</B><VAR>vnode_number</VAR> and contains the inode's
85 contents. The default output is suppressed and any flags that modify it
86 (such as <B>-vnode</B>) are ignored.
87 <P><DT><B>-orphaned
88 </B><DD>Displays a large vnode and small vnode table for each volume, which lists
89 only orphaned vnodes (vnodes that have no parent). If there are none,
90 the tables are empty (only the headers appear).
91 <P><DT><B>-help
92 </B><DD>Prints the online help for this command. All other valid options
93 are ignored.
94 </DL>
95 <P><STRONG>Output</STRONG>
96 <P>By default, the command produces several line of statistics for each
97 volume. Adding other options produces or substitutes additional
98 information as described in the preceding <B>Options</B> section of this
99 reference page. The output is intended for debugging purposes and is
100 meaningful to someone familiar with the internal structure of volume
101 headers.
102 <P><STRONG>Privilege Required</STRONG>
103 <P>The issuer must be logged in as the local superuser <B>root</B>.
104 <P><STRONG>Related Information</STRONG>
105 <P><A HREF="auarf051.htm#HDRVLDBDB">vldb.DB0 and vldb.DBSYS1</A>
106 <P><A HREF="auarf251.htm#HDRVOLSERVER">volserver</A>
107 <P>
108 <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> 
109 <!-- Begin Footer Records  ========================================== -->
110 <P><HR><B> 
111 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
112 </B> 
113 <!-- End Footer Records  ============================================ -->
114 <A NAME="Bot_Of_Page"></A>
115 </BODY></HTML>