BUTC(8)
π butc β like, the Tape Coordinator origin story π
okay so bestie, we're in the butc(8) page from the AFS Command Reference, and honestly? this one's a whole vibe. let's go π
β¨ NAME β¨
butc β Initializes the Tape Coordinator process π¦
πΈ SYNOPSIS πΈ
butc [-port <port offset>] [-debuglevel (0 | 1 | 2)]
[-cell <cell name>] [-noautoquery] [-rxbind] [-localauth]
[-auditlog <file | sysvmq> [-audit-interface <interface>]]
[-allow_unauthenticated] [-help]
butc [-p <port offset>] [-d (0 | 1 | 2)]
[-c <cell name>] [-n] [-r] [-l]
[-auditl <file | sysvmq> [--audit-i <interface>]]
[-al] [-h]
π DESCRIPTION π
So. The butc command initializes a Tape Coordinator process on a Tape Coordinator machine. What that actually means: it lets an operator point Backup System requests at the associated tape device or backup data file. π
cute lil parenthesis moment: the Tape Coordinator actually controls a backup data file if the"FILE YES"instruction shows up in the/var/lib/openafs/backup/CFG_device_namefile matching that Tape Coordinator's entry in the/var/lib/openafs/backup/tapeconfigfile. For simplicity's sake, the rest of this page just talks about tape devices only. periodt. π
It's conventional to start and run the Tape Coordinator in the foreground. In that case it runs on its own connection β that connection isn't available for anything else, and it has to stay open the entire time the Tape Coordinator is supposed to accept backup requests and while it's executing them. (If you're using a window manager, that connection = a separate command shell window. πͺ)
The Tape Coordinator can run in the background if the CFG_device_name file is configured so that the Tape Coordinator never needs to prompt the operator. Either way β foreground or background β it writes operation traces and other output to the standard output stream on the connection it was started over. Use the -debuglevel argument to control how much info shows up. β¨
It also writes traces and error messages to two files in the local /var/lib/openafs/backup directory:
- The
TE_device_namefile records problems the Tape Coordinator runs into while executing backup operations. - The
TL_device_namefile records a trace of operations, plus the same errors that got written to theTE_device_namefile.
The Tape Coordinator creates these files automatically as it initializes. π«Ά If files already exist, it renames them with a .old extension β and yes, it overwrites existing .old files if they're there. π
It gets the device_name part of the filenames by stripping off the device name's /dev/ prefix and replacing any other slashes with underscores. Example bestie: for a device called /dev/rmt/4m, the files are named TE_rmt_4m and TL_rmt_4m. π
π the prompt situation π
By default, at the start of every operation the Tape Coordinator prompts the operator to insert the first tape into the drive and press Return. To suppress that prompt, either include the -noautoquery flag on the command line, or put the instruction "AUTOQUERY NO" in the /var/lib/openafs/backup/CFG_device_name file.
When the prompt is suppressed, that first required tape must already be in the drive before the backup command is issued. For subsequent tapes, the Tape Coordinator falls back on its normal tape acquisition routine: if the /var/lib/openafs/backup/CFG_device_name file includes a "MOUNT" instruction, it invokes the indicated command; otherwise it prompts the operator for the next tape. π«
π stopping / aborting π
To stop the Tape Coordinator process, send an interrupt signal like Ctrl+C over that dedicated connection (in the command shell window).
To cancel a backup operation involving a tape before it begins β assuming the initial tape prompt hasn't been suppressed β type the letter "a" (for "abort") and press Return at the Tape Coordinator's prompt for the first tape. π
π§ files that must be right (or nothing works) π§
Tape Coordinator operation depends on certain files being configured correctly. The list, as promised:
- The local
/var/lib/openafs/backup/tapeconfigfile must include an entry for the Tape Coordinator specifying its device name, port offset number, and other stuff. Details live intapeconfig(5). - The port offset number recorded in the Tape Coordinator's entry in the Backup Database must match the one in the
tapeconfigfile. Make the Backup Database entry with thebackup addhostcommand. - The optional
/var/lib/openafs/backup/CFG_device_namefile can hold instructions for mounting and unmounting tapes automatically (tape stacker or jukebox, say) or for automating other parts of the backup process. Thedevice_namepart of that name gets derived the same way described above for theTE_device_nameandTL_device_namefiles.
β οΈ CAUTIONS β οΈ
If the Tape Coordinator machine is an AIX machine, use the SMIT utility to set the device's block size to 0 (zero), which indicates variable block size.
Why though? Because otherwise, tape devices attached to machines running other operating systems sometimes cannot read tapes written on AIX machines. π For instructions, see the OpenAFS Administration Guide chapter about configuring the Backup System.
β¨ OPTIONS β¨
-port <port offset>β Specifies the port offset number of the Tape Coordinator to initialize. π’-debuglevelβ Controls the amount and type of messages the Tape Coordinator displays on the standard output stream. Give it one of three acceptable values:0β display the minimum level of detail required to describe Tape Coordinator operations: prompts for tapes, messages marking the beginning and end of operations, and error messages. This is the default value.1β display the names of the volumes being dumped or restored, plus everything shown at level0.2β display all messages, including the ones also being written to theTL_device_namelog file.
-cell <cell name>β Names the cell the Tape Coordinator operates in (the cell the file server machines housing the affected volumes belong to). If you omit this argument, the Tape Coordinator runs in the local cell as defined in the local/etc/openafs/ThisCellfile. Do not combine this flag with the-localauthargument. π«-noautoqueryβ Suppresses the Tape Coordinator's prompt for insertion of the first tape needed for an operation. The operator must insert the tape into the drive before issuing the backup command that initializes the operation.-rxbindβ Bind the Rx socket to the primary interface only. If not specified, the Rx socket will listen on all interfaces. π-localauthβ Constructs a server ticket using the server encryption key with the highest key version number in the local/etc/openafs/server/KeyFileor/etc/openafs/server/KeyFileExt. Thebutccommand interpreter presents that ticket β which never expires β to the Volume Server and Volume Location Server for use in mutual authentication.
Don't combine this argument with the-cellflag, and only use it when you're logged on to a server machine as the local superuser"root". Client machines don't have/etc/openafs/server/KeyFileor/etc/openafs/server/KeyFileExtfiles. π«
-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 whether 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.-allow_unauthenticatedβ By defaultbutcrequires clients performingTC_RPCs to authenticate themselves β behavior introduced in the fix forOPENAFS-SA-2018-001. This option reverts to the historical behavior of only using therxnullsecurity class for incoming connections.
Use of this option is strongly disrecommended. It is provided only for backwards compatibility with older clients in environments wherebackupandbutccommunicate over a secure network that denies access to untrusted parties. π
-helpβ Prints the online help for this command. All other valid options are ignored. π«Ά
π EXAMPLES π
This one starts the Tape Coordinator with port offset 7 at debug level 1, meaning the Tape Coordinator reports the names of the volumes it's dumping or restoring:
% butc -port 7 -debuglevel 1
π PRIVILEGE REQUIRED π
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server or Volume Location (VL) Server is running, and on every file server machine that houses a volume to be backed up. π
If the -localauth flag is included, the issuer must instead be logged on to the Tape Coordinator machine as the local superuser "root".
On top of all that, the issuer must be able to read and write to the log and configuration files in the local /var/lib/openafs/backup directory. β¨
π SEE ALSO π
KeyFile(5), KeyFileExt(5), ThisCell(5), UserList(5), butc(5), butc_logs(5), tapeconfig(5), backup_addhost(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 brought to you by the OpenAFS girlies, page dated 2026-07-27, and obviously it's BUTC(8) because we stay on brand. 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