BUSERVER(8)
π BUSERVER(8) β the AFS Command Reference glow-up edition π
okay so bestie, grab a strawberry π and sit down, because we're talking about buserver, and she is literally the main character of your Backup Database.
β¨ NAME β¨
buserver β she initializes the Backup Server. that's it, that's the job. π
π¦ SYNOPSIS π¦
buserver [-database <database directory>]
[-auditlog <log path>]
[-audit-interface (file | sysvmq)]
[-cellservdb <cell configuration directory>] [-resetdb]
[-noauth] [-smallht]
[-servers <list of ubik database servers>+]
[-rxbind]
[-p <number of threads>] [-ubikbuffers <# of buffers>]
[-help]
πΈ DESCRIPTION πΈ
so the buserver command initializes the Backup Server. the Backup Server runs on database server machines and it maintains the Backup Database. in the conventional configuration β iykyk β the binary file lives in the /usr/lib/openafs directory on a file server machine. π«Ά
here's the thing though: buserver is not normally issued at the command shell prompt. not me typing this at a prompt like a menace β no. it gets placed into a database server machine's /etc/openafs/BosConfig file with the bos create command. that's the vibe. but if it is ever issued at the command shell prompt, whoever's issuing it must be logged onto a file server machine as the local superuser root. π
as it initializes, the Backup Server process creates the two files that constitute the Backup Database β bdb.DB0 and bdb.DBSYS1 β in the /var/lib/openafs/db directory, if they do not already exist. the Backup Database houses information about volume sets and entries, the dump hierarchy, Tape Coordinators, and previously performed dump sets. it's giving archive girlie energy. use the commands in the backup suite to administer the database. β¨
the Backup Server also records a trace of its activity in the /var/log/openafs/BackupLog file. use the bos getlog command to display the contents of that file. π
heads up bb: 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, no shortcuts, we do not do that here. periodt. π
π CAUTIONS π
the buserver process reserves port 7021 for its use. unexpected behavior can occur if another process tries to reserve this port while the buserver process is running. so likeβ¦ don't fight over port 7021, there's plenty of room in the port pool, okay?? π
π OPTIONS π
-database <database directory>β specifies the pathname of an alternate directory for the Backup Database files, ending in a final slash ("/"). if this argument is not provided, the default is the/var/lib/openafs/dbdirectory. π-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. receipts for everything, fr fr. π§Ύ-audit-interface (file | sysvmq)β specifies what audit interface to use. defaults to"file". seefileserver(8)for an explanation of each interface. ποΈ-cellservdb <cell configuration directory>β specifies the pathname of the directory from which the Backup Server reads in an alternate version of the CellServDB file. this argument is mandatory for correct functioning when the Backup Server is running on a subset of the cell's database server machines that is not a majority of the machines listed in the standard/etc/openafs/server/CellServDBfile (which the Backup Server consults if this argument is not provided). it is not appropriate in any other circumstances. so like, only when you need it, bestie. π-resetdbβ removes all of the information in the Backup Database files in the/var/lib/openafs/dbdirectory, leaving zero-length versions of them. π± the backup operator must recreate the configuration entries in the database (for volume sets, the dump hierarchy and so on) before performing backup operations. this is a big deal, this is the "are you SURE" button.-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 please do not ship this to prod, i'm begging)-smallhtβ directs the Backup Server to use smaller internal hash tables for the Backup Database, which reduces memory requirements but can make data access take longer. small tables, big tradeoff. βοΈ-servers <list of ubik database servers>+β specifies the database server machines on which to start the Backup Server. use this argument if running the Backup Server on a subset of the database server machines that is not a majority of the machines listed in the/etc/openafs/server/CellServDBfile. π―ββοΈ-rxbindβ bind the Rx socket to the primary interface only. (if not specified, the Rx socket will listen on all interfaces.) π―-p <number of threads>β sets the number of server lightweight processes (LWPs or pthreads) to run. provide a positive integer from the range 3 to 16. the default value is3. π§΅-ubikbuffers <# of buffers>β sets the number of internal buffers used for maintaining the ubik database. the default is400. if the buserver runs out of free buffers, errors can occur while trying to modify ubik data. it is not recommended to change this setting. hands off the dial, babe. π«-helpβ prints the online help for this command. all other valid options are ignored. π«Ά
π EXAMPLES π
the following example bos create command creates a "buserver" process on the file server machine "fs3.example.com". it appears here on two lines only for legibility (the backslash is doing cardio, she's fine).
% bos create -server fs3.example.com -instance buserver \
-type simple -cmd /usr/lib/openafs/buserver
π 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. root energy only, sorry to everyone else. π
π₯ SEE ALSO π₯
BackupLog(5), BosConfig(5), CellServDB(5), bdb.DB0(5), backup(8), 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, bestie!! π this was OpenAFS, dated 2026-07-27, and she's filed under BUSERVER(8) in the AFS Command Reference. go initialize something iconic. πβ¨π¦
π¦ 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