VLSERVER(8)
π VLSERVER(8) π
AFS Command Reference β¨ okay bestie, sit down, hydrate, because we're talking about the Volume Location Server β the girl who literally knows where every volume lives π
πΈ NAME πΈ
vlserver β Initializes the Volume Location Server π
β¨ SYNOPSIS β¨
vlserver [-noauth] [-smallmem]
[-p <number of threads>] [-nojumbo]
[-jumbo] [-rxbind]
[-d <debug level>]
[-rxmaxmtu <bytes>]
[-trace <trace file>]
[-allow-dotted-principals]
[-database | -db <database path>]
[-logfile <log file>]
[-transarc-logs]
[-config <configuration path>]
[-syslog[=<facility>]>]
[-enable_peer_stats] [-enable_process_stats]
[-auditlog <log path>]
[-audit-interface (file | sysvmq)]
[-restricted_query (anyuser | admin)]
[-help]
π¦ DESCRIPTION π¦
Okay so. The vlserver command initializes the Volume Location (VL) Server, and this server runs on every database server machine. No skips. In the conventional configuration, its binary file lives in the /usr/lib/openafs directory on a file server machine πβ¨
Now, here's the tea: you don't normally just type vlserver at the command shell prompt, bestie. Instead it gets placed into a file server machine's /etc/openafs/BosConfig file with the bos create command π« If you do ever issue it at the command shell prompt, the person issuing it must be logged onto a database server machine as the local superuser "root". That's the rule, no cap π
As it initializes, the VL Server process creates the two files that constitute the Volume Location Database (VLDB) β vldb.DB0 and vldb.DBSYS1 β in the /var/lib/openafs/db directory, if they don't already exist. Oh and to administer that database, you use the commands in the vos suite π«Ά
The VL Server maintains the record of volume locations in the Volume Location Database (VLDB). Here's the little choreography, so pay attention: when the Cache Manager fills a file request from an application program, it first contacts the VL Server to learn which file server machine currently houses the volume that contains the file. Then the Cache Manager requests the file from the File Server process running on that file server machine. Like, it's giving relay race πββοΈπββοΈ
The VL Server records a trace of its activity in the /var/log/openafs/VLLog file. Use the bos getlog command to display the contents of the file. By default, it records on a minimal number of messages β lowkey shy of her π For instructions on increasing the amount of logging, see VLLog(5).
By default, the VL Server runs nine lightweight processes (LWPs). Wanna change the number? Use the -p argument πββοΈ
Fr fr, important: this command does not use the syntax conventions of the AFS command suites. Provide the command name and all option names in full. No abbreviations. Periodt.
π OPTIONS π
-d <debug level>β Sets the detail level for the debugging trace written to the/var/log/openafs/VLLogfile. Give it one of these values, each one producing a progressively more detailed trace:0,1,5,25, and125. Slay, but also: that's a lot of words, so know what you're asking for π-p <number of threads>β Sets the number of server lightweight processes (LWPs or pthreads) to run. Give it an integer between3and64. The default is9π§΅-jumboβ Lets the server send and receive jumbograms. A jumbogram is a large-size packet composed of 2 to 4 normal Rx data packets that share the same header π The VL Server does not use jumbograms by default, because some routers are not capable of properly breaking the jumbogram into smaller packets and reassembling them. Rude of them honestly π-nojumboβ Deprecated; jumbograms are disabled by default. So like... this one's retired, bestie π«‘-enable_peer_statsβ Activates the collection of Rx statistics and allocates memory for their storage. For each connection with a specific UDP port on another machine, a separate record is kept for each type of RPC (FetchFile, GetStatus, and so on) sent or received π To display or otherwise access the records, use the Rx Monitoring API.-enable_process_statsβ Activates the collection of Rx statistics and allocates memory for their storage. A separate record is kept for each type of RPC (FetchFile, GetStatus, and so on) sent or received, aggregated over all connections to other machines π To display or otherwise access the records, use the Rx Monitoring API.-allow-dotted-principalsβ By default, the RXKAD security layer will disallow access by Kerberos principals with a dot in the first component of their name. Why? To avoid the confusion where principalsuser/adminanduser.adminare both mapped to theuser.adminPTS entry π΅βπ« Sites whose Kerberos realms don't have these collisions between principal names may disable this check by starting the server with this option. iykyk β-auditlog <log path>β Turns on audit logging, and sets the path for the audit log. The audit log records information about RPC calls, including the name of the RPC call, the host that submitted the call, the authenticated entity (user) that issued the call, the parameters for the call, and if the call succeeded or failed π΅οΈββοΈ-audit-interface (file | sysvmq)β Specifies what audit interface to use. Defaults to"file". Seefileserver(8)for an explanation of each interface π-rxbindβ Bind the Rx socket to the primary interface only. (If not specified, the Rx socket will listen on all interfaces.) Pick your lane, girl π―-syslog[=<syslog facility>]β Specifies that logging output should go to syslog instead of the normal log file.-syslog=FACILITYcan be used to specify to which facility the log message should be sent. Logging messages sent to syslog are tagged with the string"vlserver"π·οΈ-noauthβ Turns off all authorization checks, and allows all connecting users to act as administrators, even unauthenticated users π The use of this option is inherently insecure, and should only be used in controlled environments for experimental or debug purposes. SeeNoAuth(5).
Bestie. Listen. -noauth is the "hold my iced coffee" of flags. Only in controlled environments, only for experimental or debug purposes, okay??
-smallmemβ Specifies that thevlservershould limit its memory usage during certain operations, and return an error to the calling client instead of allocating more memory. This option is only useful on systems where memory is severely limited, and should not be needed on any remotely modern system π Like, she's for the ancient times, no shade.-rxmaxmtu <bytes>β Sets the maximum transmission unit for the RX protocol π-trace <trace file>β Turns on low-level Rx packet tracing, and logs the trace information to the specified file. The trace file can later be dumped into a human-readable form with a tool calleddumptraceπ
It is not recommended to turn on this option during normal operation, since the detailed tracing may cause performance issues and use up a lot of disk space. She's nosy AND hungry π¬
-logfile <log file>β Sets the file to use for server logging. Iflogfileis not specified, and no other logging options are supplied, this will be/var/log/openafs/VLLogπ Note that this option is intended for debugging and testing purposes. Changing the location of the log file from the command line may result in undesirable interactions with tools such asbos. Careful, babe π«£-transarc-logsβ Use Transarc style logging features. Renames the log file/var/log/openafs/VLLogto/var/log/openafs/VLLog.oldwhen the VL Server is restarted. This option is provided for compatibility with older versions π°οΈ-database | -db <database path>β Set the location of the database used by this program. This option is intended primarily for testing purposes π§ͺ-config <configuration directory>β Set the location of the configuration directory used to configure this service. In a typical configuration this will be/etc/openafs/serverβ this option allows the use of alternative configuration locations for testing purposes ποΈ-restricted_query (anyuser | admin)β Restrict RPCs that query information about volumes to a specific group of users. Only the RPCs that are not used by cache managers will be restricted, since cache manager connections to the Volume Server are always unauthenticated π€ You can use"admin"to restrict to AFS administrators. The"anyuser"option doesn't restrict the RPCs and leaves it open for all users including unauthenticated users β this is the default.-helpβ Prints the online help for this command. All other valid options are ignored. She said what she said π’
π EXAMPLES π
The following bos create command creates a vlserver process on the machine "fs2.example.com" that uses six lightweight processes. Type the command on a single line:
% bos create -server fs2.example.com -instance vlserver -type simple \
-cmd "/usr/lib/openafs/vlserver -p 6"
See? Six threads, one line, iconic π«
π PRIVILEGE REQUIRED π
The issuer must be logged in as the superuser "root" on a file server machine to issue the command at a command shell prompt π It is conventional instead to create and start the process by issuing the bos create command. Do it the conventional way, bestie, it's the vibe β¨
π SEE ALSO π
BosConfig(5), VLLog(5), vldb.DB0(5), bos_create(8), bos_getlog(8)
π 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.
And that's the whole page, angel π«Ά This was VLSERVER(8) from the OpenAFS command reference, dated 2026-07-27 β go forth, run your volumes, and remember: full option names only, no abbreviations, periodt π
π¦ where this page comes from
- ubuntu stonking: openafs-dbserver 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