VOS_SETFIELDS(1)
π NAME π
vos_setfields β sets the quota or clears the access counter on a volume, bestie π
(this one lives in the AFS Command Reference, and it's giving "tiny command, big power" β¨)
πΈ SYNOPSIS πΈ
vos setfields -id <volume name or ID>
-maxquota <quota (KB)>
[-clearuse] [-clearVolUpCounter]
[-cell <cell name>]
[-noauth] [-localauth]
[-verbose] [-encrypt] [-noresolve]
[-config <config directory>]
[-help]
vos se -id <volume name or ID>
-m <quota (KB)> [-cl]
[-ce <cell name>]
[-noa] [-l] [-v] [-e] [-nor]
[-co <config directory>]
[-h]
yes bestie, vos se is the glow-up shorthand for vos setfields π«Ά and all those little clipped flags are the same flags wearing a smaller outfit. iconic behavior tbh π
π¦ DESCRIPTION π¦
okay so real talk β vos setfields does two things, and only two things, and that's the whole vibe:
- it can set the quota on a volume π¦
- it can clear the access counter on a volume π§Ή
and the way it's lowkey better than its cousin: this command differs from fs setquota because only the volume name is needed to set the quota, whereas the path to the volume is needed with fs setquota. so if you know the volume's name, you're already set, no path-hunting required β¨
π¨ IMPORTANT bestie: if the-maxquotaand-clearuseflags are missing, then no action is taken. like literally nothing happens. the command just shows up and does zero. π
π CAUTIONS π
this command is not effective on read-only or backup volumes. periodt. don't come crying to me, the manual said it first π
β¨ OPTIONS β¨
-id<volume name or id> β identifies the volume on which to operate, either by its complete name or volume ID number. π―-maxquota<quota> β sets the maximum amount of file server disk space the volume can occupy. the quota should be a positive integer followed by an optional suffix:Kfor kibibytes (1024 bytes, the default),Mfor mebibytes (1024 kibibytes),Gfor gibibytes (1024 mebibytes), andTfor tebibytes (1024 gibibytes). a value of0sets an unlimited quota, but the size of the disk partition that houses the volume places an absolute limit on the volume's size. so like, "unlimited" but the disk said βπ-clearuseβ clears the access counter on a volume, which is shown asX accesses in the past day (i.e., vnode references)in thevos examineoutput. bye bye counter π-clearVolUpCounterβ clears the modification counter on a volume. the modification counter will increment with time and stop updating when it reaches the maximum value. this option will reset it to0. this option is available in OpenAFS version1.5.0or later. π-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 identityanonymousto 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-noauthflag. for more details, seevos(1). π-verboseβ produces on the standard output stream a detailed trace of the command's execution. if this argument is omitted, only warnings and error messages appear. π-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 versions1.4.11or later and1.5.60or later. π-noresolveβ shows all servers as IP addresses instead of the DNS name. this is very useful when the server address is registered as127.0.0.1or when dealing with multi-homed servers. this option is available in OpenAFS versions1.4.8or later and1.5.35or 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. π
π€ OUTPUT π€
this command produces no output other than error messages. silent. mysterious. main character energy π
π EXAMPLES π
to set a 123KB quota on the root.cell volume, the following command may be used:
% vos setfields -id root.cell -maxquota 123
to clear the access counter on the root.cell volume, use the following command:
% vos setfields -id root.cell -clearuse
the above commands may be combined as follows:
% vos setfields -id root.cell -maxquota 123 -clearuse
combo move. ate. π₯
π 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. if the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser root. so likeβ¦ know your permissions bestie, this is not the moment to freestyle π
π SEE ALSO π
π COPYRIGHT π
Copyright 2009 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.
and that's the whole page bestie π«Ά this one dropped with OpenAFS on 2026-07-27 β stay slay, stay quota'd, and go clear those counters πβ¨ππ¦
π¦ 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