1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="volinfo8">
4 <refentrytitle>volinfo</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>volinfo</refname>
9 <refpurpose>Produces detailed statistics about AFS volume headers</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">volinfo</emphasis> [<emphasis role="bold">-online</emphasis>] [<emphasis role="bold">-vnode</emphasis>] [<emphasis role="bold">-date</emphasis>] [<emphasis role="bold">-inode</emphasis>] [<emphasis role="bold">-itime</emphasis>]
14 [<emphasis role="bold">-part</emphasis> <<emphasis>AFS partition name (default current partition)</emphasis>>+]
15 [<emphasis role="bold">-volumeid</emphasis> <<emphasis>volume id</emphasis>>+] [<emphasis role="bold">-header</emphasis>] [<emphasis role="bold">-sizeOnly</emphasis>]
16 [<emphasis role="bold">-fixheader</emphasis>] [<emphasis role="bold">-saveinodes</emphasis>] [<emphasis role="bold">-orphaned</emphasis>] [<emphasis role="bold">-help</emphasis>]</para>
20 <title>Description</title>
21 <para>The <emphasis role="bold">volinfo</emphasis> command displays detailed statistics about one or more
22 volume headers and the partition that houses them. The command must be
23 issued on a file server machine and by default produces output for every
24 volume on every AFS server partition on the machine. To display output for
25 the volumes on one partition only, include the <emphasis role="bold">-part</emphasis> argument. To
26 display output for one volume only, include the <emphasis role="bold">-volumeid</emphasis> argument.</para>
30 <title>Options</title>
33 <term><emphasis role="bold">-online</emphasis></term>
35 <para>Is nonoperational.</para>
40 <term><emphasis role="bold">-vnode</emphasis></term>
42 <para>Displays a table for each volume which lists the large (directory) and
43 small (file) vnodes in it, in addition to the default output.</para>
48 <term><emphasis role="bold">-date</emphasis></term>
50 <para>When combined with the <emphasis role="bold">-vnode</emphasis> flag, adds the <computeroutput>ServerModTime</computeroutput> field to
51 each vnode entry in the large vnode and small vnode tables, reporting its
52 most recent modification time.</para>
57 <term><emphasis role="bold">-inode</emphasis></term>
59 <para>When combined with the <emphasis role="bold">-vnode</emphasis> flag, adds the <computeroutput>inode</computeroutput> field to each
60 vnode entry in the large vnode and small vnode tables, reporting the
61 associated inode number.</para>
66 <term><emphasis role="bold">-itime</emphasis></term>
68 <para>When combined with the <emphasis role="bold">-vnode</emphasis> flag, displays a change, modification,
69 and access timestamp for each of the large vnode and small vnode tables.</para>
74 <term><emphasis role="bold">-part</emphasis> <<emphasis>partition name</emphasis>>+</term>
76 <para>Specifies the partition that houses each volume for which to produce
77 output. Use the format <replaceable>/vicep</replaceable><emphasis>xx</emphasis><replaceable></replaceable>, where <emphasis>xx</emphasis> is one or two lowercase
78 letters. This argument can be omitted if the current working directory is
79 the mount location for an AFS server partition; it is not the mount
80 location for an AFS server partition, the command produces output for
81 every volume on all local AFS server partitions.</para>
86 <term><emphasis role="bold">-volumeid</emphasis> <<emphasis>volume id</emphasis>>+</term>
88 <para>Specifies the ID number of one volume for which to produce output. The
89 <emphasis role="bold">-part</emphasis> argument must be provided along with this one unless the current
90 working directory is the mount location for the AFS server partition that
91 houses the volume.</para>
96 <term><emphasis role="bold">-header</emphasis></term>
98 <para>Displays statistics about the volume header of each volume, in addition to
99 the default output.</para>
104 <term><emphasis role="bold">-sizeOnly</emphasis></term>
106 <para>Displays a single line of output for each volume, reporting the size of
107 various structures associated with it. The default output is suppressed
108 and any flags that modify it (such as <emphasis role="bold">-vnode</emphasis>) are ignored.</para>
113 <term><emphasis role="bold">-fixheader</emphasis></term>
115 <para>Repairs damaged inodes in each volume if possible. If there are any, it
116 reports the action it is taking to repair them. Otherwise, it produces no
117 output in addition to the default output.</para>
122 <term><emphasis role="bold">-saveinodes</emphasis></term>
124 <para>Creates a file in the current working directory for each inode in each
125 volume. Each file is called <replaceable>TmpInode.</replaceable><emphasis>vnode_number</emphasis><replaceable></replaceable> and contains the
126 inode's contents. The default output is suppressed and any flags that
127 modify it (such as <emphasis role="bold">-vnode</emphasis>) are ignored.</para>
132 <term><emphasis role="bold">-orphaned</emphasis></term>
134 <para>Displays a large vnode and small vnode table for each volume, which lists
135 only orphaned vnodes (vnodes that have no parent). If there are none, the
136 tables are empty (only the headers appear).</para>
141 <term><emphasis role="bold">-help</emphasis></term>
143 <para>Prints the online help for this command. All other valid options are
151 <title>Output</title>
152 <para>By default, the command produces several line of statistics for each
153 volume. Adding other options produces or substitutes additional
154 information as described in <link linkend="OPTIONS">OPTIONS</link>. The output is intended for
155 debugging purposes and is meaningful to someone familiar with the internal
156 structure of volume headers.</para>
160 <title>Privilege Required</title>
161 <para>The issuer must be logged in as the local superuser <computeroutput>root</computeroutput>.</para>
165 <title>See Also</title>
166 <para><link linkend="vldb_DB05">vldb.DB0(5)</link>,
167 <link linkend="volserver8">volserver(8)</link></para>
171 <title>Copyright</title>
172 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
174 <para>This documentation is covered by the IBM Public License Version 1.0. It was
175 converted from HTML to POD by software written by Chas Williams and Russ
176 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>