BOS_LISTHOSTS(8)
π BOS_LISTHOSTS(8) π
okay bestie, welcome to the AFS Command Reference β¨ this one's from the OpenAFS girlies and it's literally just "who are my database servers" but make it iconic. no cap.
β¨ NAME β¨
bos_listhosts β Displays the contents of the CellServDB file
like. it shows you the CellServDB file. that's the whole vibe. π
πΈ SYNOPSIS πΈ
bos listhosts -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos listh -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
bos getcell -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos getc -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
so there's four whole ways to summon this command and they all do the same thing, it's giving multiple aliases, one destiny π
and yes getcell / getc are in there too, they're the same command with a different name, iykyk.
π¦ DESCRIPTION π¦
The bos listhosts command formats and displays the list of a cell's database server machines, straight out of the /etc/openafs/server/CellServDB file on the server machine that you name with the -server argument. bestie it literally reads the file and pretties it up for you. π
And if you wanna change which machines are on that list? that's not this command, girlie. that's bos addhost and bos removehost. periodt. π₯
π OPTIONS π
-server <machine name>β the server machine you want to display the/etc/openafs/server/CellServDBfile from. you can identify it by IP address or by its host name (fully-qualified, or abbreviated as long as it's unambiguous β the machine has to know who you mean). for the deets, seebos(8).
β οΈ and listen: for consistent performance in the cell, the output has to be the same on every server machine. the bos addhost reference page explains how to keep the machines synchronized. don't be the one server that's off-script. π
-cell <cell name>β names the cell where you wanna run the command. π«Ά do NOT combine this argument with the-localauthflag, okay? they don't get along. more details inbos(8).-noauthβ assigns the unprivileged identity"anonymous"to the issuer. so like, no name, no reputation, just vibes, anonymous. π do NOT combine this flag with-localauth. more details inbos(8).-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFileor/etc/openafs/server/KeyFileExtfile. theboscommand interpreter then presents that ticket to the BOS Server during mutual authentication. π€ do NOT combine this flag with the-cellor-noauthoptions β they are not a friend group. more details inbos(8).-helpβ prints the online help for this command. and literally every other valid option gets ignored when you use it, so don't bother typing the whole thing. π
π OUTPUT π
The first line of the output names the cell that the server machine belongs to. each line after that names a database server machine for that cell. cute, tidy, slay. β¨
about that "Host" number assigned to each database server machine β okay so that number is for server-internal use only, and it is not the same as the machine's IP address, nor is it necessarily even related to it. π
ββοΈ the BOS Server assigned that number while it was doing the bos addhost command. so don't @ it, it's not an IP. π
β EXAMPLES β
The following command displays the database server machines listed in the /etc/openafs/server/CellServDB file on the machine "fs7.example.com".
% bos listhosts fs7.example.com
Cell name is example.com
Host 1 is db1.example.com
Host 2 is db2.example.com
Host 3 is db3.example.com
look at her go. three db hosts, all lined up, all perfect. π
π PRIVILEGE REQUIRED π
None
(yeah. none. you don't need anything. go wild. π«Ά)
π§ SEE ALSO π§
CellServDB(5), KeyFile(5), KeyFileExt(5), bos(8), bos_addhost(8), bos_removehost(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 β brought to you by OpenAFS, dated 2026-07-27, filed under BOS_LISTHOSTS(8). mwah. π stay synced, stay iconic. πβ¨
π¦ 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