VOS_SYNCVLDB(1)
β¨ VOS_SYNCVLDB β¨
okay bestie, welcome to the vos_syncvldb page from the AFS Command Reference π this one's a lil admin queen, she checks ur VLDB and makes sure it's not lying about where ur volumes live. very much giving "trust but verify" energy. let's go π¦
πΈ NAME πΈ
vos_syncvldb β verifies VLDB entries for volumes residing at a specified site, no cap π
π SYNOPSIS π
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]
like, you can spell everything out or use the lil short forms, whichever vibe u prefer β¨
π DESCRIPTION π
so the whole point of vos syncvldb is: it checks that the status of the volumes sitting either on all the partitions of the file server machine u named with the -server argument, or on the one single partition u named with both -server and -partition, is actually recorded correctly in the VLDB. it's a vibe check for ur database π₯
and if u also pass -volume to point at one specific volume, then it only compares that one volume's status on the file server machine against its VLDB entry. very targeted, very main character.
k so if u DON'T include -volume: the command interpreter goes and gets a list of the volumes that live on each partition from the Volume Server, then edits the VLDB as needed so it matches what's actually on the partition. for example, if it finds a volume and the VLDB entry is missing or incomplete, it creates or updates one β slay. BUT π if there's already a VLDB entry that says the volume is somewhere else, or there are irreconcilable conflicts with other VLDB entries, then instead it just writes a message about the conflict to the standard error stream. dramatic but fair. and the command never removes volumes from the file server machine. it does not delete, periodt.
to get complete VLDB consistency, run this command on every file server machine in the cell, and then run the vos syncserv command on every file server machine in the cell. both. in that order-ish. the way that these two are a duo ππ«Ά
ngl, using -volume basically smashes this command's effects together with vos syncserv's effects, but for a single volume only. it doesn't just verify that the VLDB entry is correct for the volume type u specified (read/write, backup, or read-only) β it ALSO checks that every related volume type mentioned in that VLDB entry actually exists at the site listed in the entry. iconic. and here's the tea: u don't have to give the -server argument (or optionally, the -partition argument) β but if u give one or both of them, the results are only reliable if they specify the actual real location of the volume that -volume pointed at. fr fr, no shortcuts π
β¨ OPTIONS β¨
-server <server name>β names the file server machine that's housing the volumes u wanna verify VLDB entries for. u can give the machine's IP address or its host name (fully qualified, or an unambiguous abbreviation works too). for the deets, seevos(1).-partition <partition name>β names the partition that's housing the volumes u wanna verify VLDB entries for. u gotta give the-serverargument along with this one, okay? give the partition's complete name with the preceding slash (like, for example,"/vicepa") or use one of the three acceptable abbreviated forms. details live invos(1).-volume <volume name or ID>β specifies the name or the volume ID number of a single volume whose VLDB entry u wanna verify. this argument can be combined with the-serverargument (and optionally the-partitionargument). mixing and matching, we love to see it π-dryrunβ shows u the actions that would be taken, but does not actually make any changes. window shopping only, bestie π-cell <cell name>β names the cell in which to run the command. do NOT combine this argument with the-localauthflag. more details invos(1).-noauthβ assigns the unprivileged identity"anonymous"to the issuer. do NOT combine this flag with the-localauthflag. more details invos(1).-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. thevoscommand interpreter presents it to the Volume Server and the Volume Location Server during mutual authentication. do NOT combine this flag with the-cellargument or the-noauthflag. more details invos(1).-verboseβ produces a detailed trace of the command's execution on the standard output stream. if u omit this argument, only warnings and error messages show up. quiet luxury π-encryptβ encrypts the command so that the operation's results are not transmitted across the network in clear text. this option is available in OpenAFS versions1.4.11or later and1.5.60or later. secure girly behavior π-noresolveβ shows all servers as IP addresses instead of the DNS name. this is very useful when the server address is registered as127.0.0.1or when dealing with multi-homed servers. this option is available in OpenAFS versions1.4.8or later and1.5.35or later.-config <configuration directory>β set the location of the configuration directory to be used. this defaults to/etc/openafs, EXCEPT if-localauthis specified, in which case the default is/etc/openafs/server. this option lets u use alternative configuration locations for testing purposes, cute π§-helpβ prints the online help for this command. all other valid options are ignored. she said "nope, just the help" π
π EXAMPLES π
this example command verifies the VLDB entry for each volume stored on the file server machine "fs4.example.com". look at her go:
% vos syncvldb fs4.example.com
π PRIVILEGE REQUIRED π
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. and if the -localauth flag is included, then the issuer must instead be logged on to a server machine as the local superuser "root". that's the whole dress code, no exceptions π
π₯ SEE ALSO π₯
go read those too, they're the rest of the lore π
π COPYRIGHT π
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.
okay that's the whole page bestie, u ate that π this was OpenAFS, dated 2026-07-27, and the manual page goes by VOS_SYNCVLDB(1) β stan a well-documented sync command, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms