VOS_SYNCVLDB(1) | AFS Command Reference | VOS_SYNCVLDB(1) |
vos_syncvldb - Verifies VLDB entries for volumes residing at specified site
vos syncvldb
[-server <machine name>]
[-partition <partition name>]
[-volume <volume name or ID>]
[-dryrun] [-cell <cell name>]
[-noauth] [-localauth]
[-verbose] [-encrypt] [-noresolve]
[-config <config directory>]
[-help]
vos syncv
[-s <machine name>]
[-p <partition name>]
[-vo <volume name or ID>]
[-d] [-c <cell name>]
[-noa] [-l] [-ve] [-e] [-nor]
[-co <config directory>]
[-h]
The vos syncvldb command verifies that the status of the volumes housed either on all partitions on the file server machine specified by the -server argument, or on the single partition specified by the -server and -partition arguments, is recorded correctly in the VLDB. If the -volume argument is included to indicate a single volume, the command compares only its status on the file server machine with its VLDB entry.
If the -volume argument is not included, the command interpreter obtains from the Volume Server a list of the volumes that reside on each partition, then changes information in the VLDB as necessary to reflect their state on the partition. For example, it creates or updates a VLDB entry when it finds a volume for which the VLDB entry is missing or incomplete. However, if there is already a VLDB entry that defines a different location for the volume, or there are irreconcilable conflicts with other VLDB entries, it instead writes a message about the conflict to the standard error stream. The command never removes volumes from the file server machine.
To achieve complete VLDB consistency, run this command on all file server machines in the cell, and then run the vos syncserv command on all file server machines in the cell.
Using the -volume argument basically combines the effects of this command with those of the vos syncserv command, for a single volume. The command not only verifies that the VLDB entry is correct for the specified volume type (read/write, backup, or read-only), but also checks that any related volume types mentioned in the VLDB entry actually exist at the site listed in the entry. It is not necessary to provide the -server argument (and optionally, -partition argument); if one or both is provided, the results are reliable only if they specify the actual location of the volume indicated by the -volume argument.
The following example command verifies the VLDB entry for each volume stored on the file server machine "fs4.example.com".
% vos syncvldb fs4.example.com
The issuer must be listed in the /etc/openafs/server/UserList file on the machine specified with the -server argument and on each database server machine. If the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser "root".
IBM Corporation 2000. <http://www.ibm.com/> 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.
2021-01-14 | OpenAFS |