=head1 NAME vldb_check - Checks the integrity of the VLDB =head1 SYNOPSIS =for html
B S<<< B<-database> > >>> [B<-uheader>] [B<-vheader>] [B<-servers>] [B<-entries>] [B<-quiet> | B<-verbose>] [B<-help>] B S<<< B<-d> > >>> [B<-u>] [B<-vh>] [B<-s>] [B<-e>] [B<-ve>] [B<-h>] =for html
=head1 DESCRIPTION The B command checks the integrity of the Volume Location Database (VLDB), reporting any errors or corruption it finds. If there are problems, do not issue any B commands until the database is repaired. =head1 CAUTIONS The results can be unpredictable if the Volume Location (VL) Server makes changes to the VLDB while this command is running. Use the B command to shutdown the local B process before running this command, or before creating a second copy of the F file (with a different name) on which to run the command. =head1 OPTIONS =over 4 =item B<-database> > Names the VLDB (copy of the F file) to check. If the current working directory is not the location of the file, provide a pathname, either full or relative to the current working directory. =item B<-uheader> Displays information which Ubik maintains in the database's header. =item B<-vheader> Displays information which the VL Server maintains in the database's header. =item B<-servers> >+ Outputs the server entries from the VLDB, which list the IP addresses registered for each file server machine in the cell. =item B<-entries> Outputs every volume entry in the database. The information includes the volume's name and the volume ID number for each of its versions. =item B<-quiet> Blocks output from going to stdout. Output to stderr is not blocked. Cannot be used with -verbose, -uheader, -servers or -entries. =item B<-verbose> Reports additional information about the database, including the number of entries for each type of volume. Cannot be used with -quiet. =item B<-help> Prints the online help for this command. All other valid options are ignored. =back =head1 OUTPUT If there are errors in the database, the output always reports them on the standard error stream. If any options other than B<-database> or B<-help> are provided, the output written to the standard output stream includes additional information as described for each option in L. The output is intended for debugging purposes and is meaningful to someone familiar with the internal structure of the VLDB. The B<-quiet> option can be used to suppress the standard output stream so that the command can be used more easily inside scripts. The command exits with one of the following completion codes: 0: No errors or warnings have been encountered. 1: One or more warnings encountered. 2: One or more warnings and/or errors encountered. 4: A fatal or internal error has occurred and the program cannot proceed. =head1 PRIVILEGE REQUIRED The issuer must be logged in as the local superuser C. =head1 SEE ALSO L, L, L =head1 COPYRIGHT IBM Corporation 2000. All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.