OSRVERF(8) — OBJECTSTORE COMMANDS
NAME
osrverf − verify the directory database against an individual Server file system
SYNOPSIS
osrverf [ -c ] Server-hostname [ dirman1 dirman2 dirmanN ]
DESCRIPTION
This utility operates on Directory Manager databases only.
osrverf verifies a Server file system against one or more Directory Manager databases. osrverf cross-checks Server-hostname’s Server file system against the entries in the specified Directory Manager database(s); it defaults to the value of OS_DIRMAN_ HOST if set, otherwise to the local host. It then reports dangling references on either side.
If there is a database in the Server that is not referenced in any of the Directory Manager database(s), you can use the oscdb command (see oscdb(1)) to create an entry in a Directory Manager database that references the appropriate Server entry, or you may use osrm (see osrm(1)) with the optional uid arguments to delete the database.
If there is a Directory Manager entry that does not have a database on the Server, it is reported. The osrm -R command deletes these entries.
Note: A database may appear to be dangling because you did not supply a complete set of Directory Manager hostnames. For example, if you have two Directory Managers with databases on a given Server, and you list only one of them in the original dialog, all the databases with entries on the other Directory Manager will appear as dangling.
If you give the -c option before Server-hostname, it causes only commands to be output to standard output. These commands are the ones that should be executed in order to clean up the inconsistencies. For example:
monks(192)> admin/osrverf -c monks
osrm -u monks1074791229 650817717 46137345
osrm -u monks1074791229 650831616 8388609
osrm -u monks1074791229 650837906 88080385
osrm -u monks1074791229 650902944 478150657
osrm -u monks1074791229 650902944 482344961
monks(193)>
This output could be redirected to a file and then executed with the shell. Without the -c option, the output remains the same.
FILES
$OS_ROOTDIR/admin/osrverf
SEE ALSO
ObjectStore 2.0 — Last change: October 1992