3 vldb_check - Checks the integrity of the VLDB
10 B<vldb_check> S<<< B<-database> <I<vldb file>> >>> [B<-uheader>] [B<-vheader>]
11 [B<-servers>] [B<-entries>] [B<-quiet> | B<-verbose>] [B<-fix>]
14 B<vldb_check> S<<< B<-d> <I<vldb file>> >>> [B<-u>] [B<-vh>] [B<-s>] [B<-e>]
15 [B<-ve>] [B<-f>] [B<-h>]
22 The B<vldb_check> command checks the integrity of the Volume Location
23 Database (VLDB), reporting any errors or corruption it finds. If there
24 are problems, do not issue any B<vos> commands until the database is
29 The results can be unpredictable if the Volume Location (VL) Server makes
30 changes to the VLDB while this command is running. Use the B<bos shutdown>
31 command to shutdown the local B<vlserver> process before running this
32 command, or before creating a second copy of the F<vldb.DB0> file (with a
33 different name) on which to run the command.
39 =item B<-database> <I<vldb file>>
41 Names the VLDB (copy of the F<vldb.DB0> file) to check. If the current
42 working directory is not the location of the file, provide a pathname,
43 either full or relative to the current working directory.
47 Displays information which Ubik maintains in the database's header.
51 Displays information which the VL Server maintains in the database's
54 =item B<-servers> <I<authentication servers>>+
56 Outputs the server entries from the VLDB, which list the IP addresses
57 registered for each file server machine in the cell.
61 Outputs every volume entry in the database. The information includes the
62 volume's name and the volume ID number for each of its versions.
66 Blocks output from going to stdout. Output to stderr is not blocked. Cannot
67 be used with -verbose, -uheader, -servers or -entries.
71 Reports additional information about the database, including the number of
72 entries for each type of volume. Cannot be used with -quiet.
76 Try to fix errors in the database. If this option is given, B<vldb_check> will
77 open the given database file read-write, and will update the database file
78 in-place. It is recommended that you backup the database file before running
79 with this option, in case B<vldb_check> removes data in order to fix the
84 Prints the online help for this command. All other valid options are
91 If there are errors in the database, the output always reports them on the
92 standard error stream. If any options other than B<-database> or B<-help>
93 are provided, the output written to the standard output stream includes
94 additional information as described for each option in L</OPTIONS>. The
95 output is intended for debugging purposes and is meaningful to someone
96 familiar with the internal structure of the VLDB.
98 The B<-quiet> option can be used to suppress the standard output stream
99 so that the command can be used more easily inside scripts.
101 The command exits with one of the following completion codes:
103 0: No errors or warnings have been encountered.
104 1: One or more warnings encountered.
105 2: One or more warnings and/or errors encountered.
106 4: A fatal or internal error has occurred and the program cannot proceed.
108 =head1 PRIVILEGE REQUIRED
110 The issuer must be logged in as the local superuser C<root>.
120 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
122 This documentation is covered by the IBM Public License Version 1.0. It was
123 converted from HTML to POD by software written by Chas Williams and Russ
124 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.