3 vos listvol - Displays information from a volume header
10 B<vos listvol> S<<< B<-server> <I<machine name>> >>>
11 S<<< [B<-partition> <I<partition name>>] >>> [B<-fast>] [B<-long>] [B<-quiet>]
12 [B<-extended>] S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
13 [B<-verbose>] [B<-help>]
15 B<vos listvo> S<<< B<-s> <I<machine name>> >>> S<<< [B<-p> <I<partition name>>] >>> [B<-f>]
16 [-lon] [B<-q>] [B<-e>] S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-loc>]
24 The B<vos listvol> command formats and displays the following information
25 from the volume header of each specified volume: volume name, volume ID,
26 volume type, size, and status at the server. The actual information
27 displayed depends on the combination of arguments supplied when the
28 command is issued. To display volume header information for various
29 numbers of volumes, combine the command's arguments as indicated:
35 For every volume on a file server machine, specify the machine's name with
36 the B<-server> argument.
40 For every volume at a particular site, combine the B<-server> argument
41 with the B<-partition> argument.
45 To display the Volume Location Database (VLDB) entry for one or more
46 volumes, use the B<vos listvldb> command. To display both the VLDB entry
47 and the volume header for a single volume, use the B<vos examine> command.
53 =item B<-server> <I<server name>>
55 Identifies the file server machine that houses volumes for which to
56 display the header. Provide the machine's IP address or its host name
57 (either fully qualified or using an unambiguous abbreviation). For
58 details, see L<vos(1)>.
60 This argument can be combined with the B<-partition> argument, as well as
61 the B<-fast>, B<-long>, or B<-extended> flag.
63 =item B<-partition> <I<partition name>>
65 Identifies the partition (on the file server machine specified by the
66 B<-server> argument) that houses volumes for which to display the
67 header. Provide the partition's complete name with preceding slash (for
68 example, F</vicepa>) or use one of the three acceptable abbreviated
69 forms. For details, see L<vos(1)>.
73 Displays only the volume ID numbers of volumes stored at the site
74 specified by the B<-server>, and optionally B<-partition>, argument. Do
75 not combine this flag with the B<-extended> flag.
79 Displays more detailed information about each volume stored at the site
80 specified by the B<-server>, and optionally B<-partition>, argument. The
81 information includes the volume IDs of all three volume types associated
82 with the volume, and the read/write volume's quota, creation date and
87 Suppresses the lines that summarize the number of volumes listed and their
88 status, which otherwise appear at the beginning and end of the output when
89 the output includes more than one volume.
93 Displays extensive statistics about access patterns for each volume stored
94 at the site specified by the B<-server>, and optionally B<-partition>,
95 argument. The statistics include the number of reads and writes to files
96 in the volume, and how recently files and directories have been updated by
97 their owners or other users. Do not combine this flag with the B<-fast>
100 =item B<-cell> <I<cell name>>
102 Names the cell in which to run the command. Do not combine this argument
103 with the B<-localauth> flag. For more details, see L<vos(1)>.
107 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
108 combine this flag with the B<-localauth> flag. For more details, see
113 Constructs a server ticket using a key from the local
114 F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
115 to the Volume Server and Volume Location Server during mutual
116 authentication. Do not combine this flag with the B<-cell> argument or
117 B<-noauth> flag. For more details, see L<vos(1)>.
121 Produces on the standard output stream a detailed trace of the command's
122 execution. If this argument is omitted, only warnings and error messages
127 Prints the online help for this command. All other valid options are
134 The output is ordered alphabetically by volume name and by default
135 provides the following information on a single line for each volume:
149 Type (the flag is C<RW> for read/write, C<RO> for read-only, C<BK> for
154 Size in kilobytes (C<1024> equals a megabyte)
158 Number of files in the volume, if the B<-extended> flag is provided
162 Status on the file server machine, which is one of the following:
168 The volume is completely accessible to Cache Managers.
172 The volume is not accessible to Cache Managers, but does not seem to be
173 corrupted. This status appears while a volume is being dumped, for
176 =item Off-line**needs salvage**
178 The volume is not accessible to Cache Managers, because it seems to be
179 corrupted. Use the B<bos salvage> or B<salvager> command to repair the
186 If the following message appears instead of the previously listed
187 information, it indicates that a volume is not accessible to Cache
188 Managers or the B<vos> command interpreter, for example because a clone is
191 **** Volume <volume_ID> is busy ****
193 If the following message appears instead of the previously listed
194 information, it indicates that the File Server is unable to attach the
195 volume, perhaps because it is seriously corrupted. The F<FileLog> and
196 F<VolserLog> log files in the F</usr/afs/logs> directory on the file
197 server machine possibly provide additional information; use the B<bos
198 getlog> command to display them.
200 **** Could not attach volume <volume_ID> ****
202 The information about individual volumes is bracketed by summary
203 lines. The first line of output specifies the number of volumes in the
204 listing. The last line of output summarizes the number of volumes that are
205 online, offline, and busy. These lines do not appear if the B<-quiet> flag
208 If the B<-fast> flag is added, the output displays only the volume ID
209 number of each volume, arranged in increasing numerical order. The final
210 line (which summarizes the number of online, offline, and busy volumes) is
213 If the B<-long> flag is included, the output for each volume includes all
214 of the information in the default listing plus the following. Each item in
215 this list corresponds to a separate line of output:
221 The file server machine and partition that house the volume, as determined
222 by the command interpreter as the command runs, rather than derived from the
223 VLDB or the volume header.
227 The volume ID numbers associated with the various versions of the volume:
228 read/write (C<RWrite>), read-only (C<ROnly>), backup (C<Backup>), and
229 ReleaseClone (C<RClone>). One of them matches the volume ID number that
230 appears on the first line of the volume's output. If the value in the
231 C<RWrite>, C<ROnly>, or C<Backup> field is C<0> (zero), there is no volume
232 of that type. If there is currently no ReleaseClone, the C<RClone> field
233 does not appear at all.
237 The maximum space quota allotted to the read/write copy of the volume,
238 expressed in kilobyte blocks in the C<MaxQuota> field.
242 The date and time the volume was created, in the C<Creation> field. If the
243 volume has been restored with the B<backup diskrestore>, B<backup
244 volrestore>, or B<vos restore> command, this is the restore time.
248 The date and time when the contents of the volume last changed, in the
249 C<Last Update> field. For read-only and backup volumes, it matches the
250 timestamp in the C<Creation> field.
254 The number of times the volume has been accessed for a fetch or store
255 operation since the later of the two following times:
261 12:00 a.m. on the day the command is issued
265 The last time the volume changed location
271 If the B<-extended> flag is included, the output for each volume includes
272 all of the information reported with the B<-long> flag, plus two tables of
279 The table labeled C<Raw Read/Write Stats> table summarizes the number of
280 times the volume has been accessed for reading or writing.
284 The table labeled C<Writes Affecting Authorship> table contains
285 information on writes made to files and directories in the specified
292 The following example shows the output for the F</vicepb> partition on the
293 file server machine C<fs2.abc.com> when no flags are provided:
295 % vos listvol -server fs2.abc.com -partition b
296 Total number of volumes on server fs2.abc.com partition /vicepb : 66
297 sys 1969534847 RW 1582 K On-line
298 sys.backup 1969535105 BK 1582 K On-line
301 user.pat 1969534536 RW 17518 K On-line
302 user.pat.backup 1969534538 BK 17537 K On-line
303 Total volumes onLine 66 ; Total volumes offLine 0 ; Total busy 0
305 The following example shows the output when the B<-fast> flag is added:
307 % vos listvol -server fs2.abc.com -partition b -fast
308 Total number of volumes on server fs2.abc.com partition /vicepb : 66
315 The following example shows two volumes from the output that appears when
316 the B<-long> flag is added:
318 % vos listvol -server fs2.abc.com -partition b -long
319 Total number of volumes on server fs2.abc.com partition /vicepb: 66
322 user.pat 1969534536 RW 17518 K On-line
324 RWrite 1969534536 ROnly 0 Backup 1969534538
326 Creation Mon Jun 12 09:02:25 1989
327 Last Update Thu May 20 17:39:34 1999
328 1573 accesses in the past day (i.e., vnode references)
329 user.pat.backup 1969534538 BK 17537 K On-line
331 RWrite 1969534536 ROnly 0 Backup 1969534538
333 Creation Tue Jun 13 04:37:59 1989
334 Last Update Wed May 19 06:37:59 1999
335 0 accesses in the past day (i.e., vnode references)
338 Total volumes onLine 66 ; Total volumes offLine 0 ; Total busy 0
340 =head1 PRIVILEGE REQUIRED
346 L<backup_diskrestore(8)>,
347 L<backup_volrestore(8)>,
358 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
360 This documentation is covered by the IBM Public License Version 1.0. It was
361 converted from HTML to POD by software written by Chas Williams and Russ
362 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.