FS_QUOTA(1)

πŸ’– FS_QUOTA(1) πŸ’–

okay bestie, welcome to the AFS Command Reference ✨ this is fs_quota, and no cap, it's the little guy that tells you how much of your volume's quota you've already eaten πŸ“


✨ NAME ✨

fs_quota β€” displays the quota used in the volume containing a directory or file πŸ‘‘


🌸 SYNOPSIS 🌸

fs quota [-path <dir/file path>+] [-help]

fs q [-p <dir/file path>+] [-h]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the fs quota command shows you the percent of quota consumed in the volume that contains each directory or file you point at. that's it. that's the whole vibe. πŸ’…

if you want the detailed tea β˜• about the volume and the partition it lives on, you go hit up the fs examine and fs listquota commands instead, bestie.

and if you want to actually set volume quota? that's fs setquota or fs setvol energy, not this one. periodt.


🚨 CAUTIONS 🚨

okay so listen, this is the important part, don't scroll past it πŸ™ˆ

currently, the max quota for a volume is 2 terabytes (2^41 bytes). and before you panic β€” this only affects the volume's quota, so a volume can lowkey grow way bigger than that if the volume quota is disabled. BUT πŸ”₯ volumes over 2 terabytes in size may be impractical to move, and some tools β€” like fs_listquota(1) β€” may report their size incorrectly.

so like. technically fine. practically: be careful. πŸ’€


πŸ’… OPTIONS πŸ’…

  • -path <dir/file path> β€” names each file or directory you want the quota-consumed-in-its-parent-volume for πŸ“. partial pathnames get interpreted relative to the current working directory, which is also the default value if you just... don't pass this argument at all. she's flexible like that.
  • -help β€” prints the online help for this command 🫢. and every other valid option you threw in there? ignored. she said not today.

🌈 OUTPUT 🌈

the output reports the percent of volume quota used, in this exact format, no deviating:

<percent>% of quota used.

⭐ EXAMPLES ⭐

this one lists the percent quota used of the volume housing your current working directory:

% fs quota
17% of quota used.

and this one lists the percent quota used of BOTH the volume housing the current working directory's parent directory AND the volume housing the directory /afs/example.com/usr/smith β€” two at once, she's multitasking 🧚:

% fs quota -path .. /afs/example.com/usr/smith
43% of quota used.
92% of quota used.

πŸ‘‘ PRIVILEGE REQUIRED πŸ‘‘

the issuer has to have the "r" (read) permission on the ACL of the root directory of the volume that houses the file or directory named by the -path argument πŸ”, AND "l" (list) permission on the ACL of each directory that precedes it in the pathname. both. yes, really. iykyk.


πŸŽ€ SEE ALSO πŸŽ€

fs_examine(1), fs_listquota(1), fs_setquota(1), fs_setvol(1)


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, you ate it πŸ’–βœ¨

okay signing off β€” this was OpenAFS, dated 2026-07-27, living her best life as FS_QUOTA(1). mwah πŸ’‹ go check your quota, main character. πŸŒΈπŸ¦‹β­

πŸ“¦ where this page comes from