# Administration Reference

## vldb_check

Purpose

Checks the integrity of the VLDB

Synopsis

    vldb_check -database <vldb_file>  [-uheader]  [-vheader]  [-servers]
               [-entries]  [-verbose]  [-help]

    vldb_check -d <vldb_file>  [-u]  [-vh]  [-s]  [-e]  [-ve]  [-h]

Description

The vldb_check 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 vos commands until the database is repaired.

Cautions

The results can be unpredictable if the Volume Location (VL) Server makes changes to the VLDB while this command is running. Use the bos shutdown command to shutdown the local vlserver process before running this command, or before creating a second copy of the vldb.DB0 file (with a different name) on which to run the command.

Options

-database
  Names the VLDB (copy of the vldb.DB0 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.

-uheader
  Displays information which Ubik maintains in the database's header.

-pheader
  Displays information which the VL Server maintains in the database's header.

-servers
  Outputs the server entries from the VLDB, which list the IP addresses registered for each file server machine in the cell.

-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.

-verbose
  Reports additional information about the database, including the number of entries for each type of volume.

-help
  Prints the online help for this command. All other valid options are ignored.

Output

If there are errors in the database, the output always reports them on the standard error stream. If any options other than -database or -help are provided, the output written to the standard output stream includes additional information as described for each option in the preceding Options section of this reference page. The output is intended for debugging purposes and is meaningful to someone familiar with the internal structure of the VLDB.

Privilege Required

The issuer must be logged in as the local superuser root.

Related Information

vldb.DB0 and vldb.DBSYS1

bos shutdown

vlserver

© IBM Corporation 2000. All Rights Reserved