VOS_REMSITE(1)
π VOS_REMSITE π
okay bestie, gather round, because this is vos_remsite from the AFS Command Reference β aka the little command that goes "nope, that read-only site? never happened π
" and removes a read-only site definition from a VLDB entry. she's niche, she's powerful, and she will absolutely let you create chaos if you use her wrong. let's get into it π¦
β¨ NAME β¨
vos_remsite β literally just removes a read-only site definition from a VLDB entry. that's the whole job. that's her whole personality π
πΈ SYNOPSIS πΈ
vos remsite -server <machine name>
-partition <partition name>
-id <volume name or ID>
[-cell <cell name>]
[-noauth] [-localauth]
[-verbose] [-encrypt] [-noresolve]
[-config <config directory>]
[-help]
vos rems -s <machine name>
-p <partition name>
-i <volume name or ID>
[-c <cell name>]
[-noa] [-l] [-v] [-e] [-nor]
[-co <config directory>]
[-h]
yes there are two whole spellings, yes the short one is giving speedrun energy, no you don't have to pick a favorite β¨
π DESCRIPTION π
so. the vos remsite command removes the read-only replication site that you specify with the -machine and -partition arguments, and it takes it out of the Volume Location Database (VLDB) entry for the volume you point at β and that volume is read/write, just so we're clear.
when is this actually useful?? okay so picture this: someone (no names π) accidentally made a read-only site with the vos addsite command before the vos release command ever actually released it. this command is for cleaning that up. iconic. responsible. we love a fix-it moment.
but now, the important part, do not skip this:
- if a read-only copy already exists at that site, it is not affected. nothing happens to it. she stays.
- however β and this is the plot twist π β if this read-only site was the last site housing any version of the volume, then the entire VLDB entry gets removed, even if a copy of the read-only version still actually exists at the site. like, the entry is gone but the actual copy is still sitting there. awkward.
- the VL Server does not correct that discrepancy until you run the
vos syncservandvos syncvldbcommands.
so yeah. she's a little dramatic. handle with care π«Ά
β οΈ CAUTIONS β οΈ
do not use this command as your standard way to remove a read-only volume, bestie, i am begging you. it can create a discrepancy between the VLDB and the volumes on file server machines, and that's a mess nobody wants to inherit.
use the vos remove command instead. that's the correct one. periodt π
π OPTIONS π
-server<server name> β the file server machine portion of the site definition you're removing. give her the machine's IP address or its host name (fully qualified is fine, or an unambiguous abbreviation works too). for details, seevos(1).-partition<partition name> β the partition name portion of the site definition you're removing. give the partition's complete name with the preceding slash (like, for example,"/vicepa") or use one of the three acceptable abbreviated forms. for details, seevos(1).-id<volume name or id> β either the complete name or the volume ID number of the read/write volume to remove. your call, both slay π-cell<cell name> β names the cell in which to run the command. do not combine this argument with the-localauthflag. for more details, seevos(1).-noauthβ assigns the unprivileged identity"anonymous"to the issuer. do not combine this flag with the-localauthflag. for more details, seevos(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 Volume Location Server during mutual authentication. do not combine this flag with the-cellargument or the-noauthflag. for more details, seevos(1).-verboseβ produces a detailed trace of the command's execution on the standard output stream. if you omit this argument, only warnings and error messages appear. (so like, quiet mode vs. narrator mode β¨)-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 versions 1.4.11 or later and 1.5.60 or later. π-noresolveβ shows all servers as IP addresses instead of the DNS name. very useful when the server address is registered as127.0.0.1or when you're dealing with multi-homed servers. this option is available in OpenAFS versions 1.4.8 or later and 1.5.35 or 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 allows the use of alternative configuration locations for testing purposes.-helpβ prints the online help for this command. all other valid options are ignored. (she said "i'm helping, nothing else matters" π )
π EXAMPLES π
so here's a little scenario: somebody mistakenly defined a read-only site /viceph on the file server machine "fs5.example.com" for the volume "root.cell". the following command removes that site from the VLDB entry. chef's kiss π€
% vos remsite -server fs5.example.com -partition h -id root.cell
π 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. no shortcuts, no exceptions.
if the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser "root". main character energy only, sorry π«Ά
π₯ SEE ALSO π₯
vos(1), vos_delentry(1), vos_remove(1), vos_zap(1)
go read those too, i know you want to π
π 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 shipped under OpenAFS, dated 2026-07-27, and honestly? she ate. go forth, un-define your mistaken read-only sites responsibly, and remember: vos remove is your friend, not this one πΈβ¨π¦
π¦ 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