WARNQUOTA(8)
π WARNQUOTA π
okay bestie, so this one is literally called warnquota and it lives in the System Manager's Manual, section 8 β the big-girl sysadmin section, no cap π
β¨ NAME β¨
warnquota β send mail to users over quota π¬
πΈ SYNOPSIS πΈ
warnquota [ -ugsid ] [ -F quotaformat ] [ -q quotatab ] [ -c configfile
] [ -a adminsfile ] [ filesystem... ]
π¦ DESCRIPTION π¦
So here's the vibe: warnquota goes and checks the disk quota for the local filesystems you name. And if you don't name any? It just checks every single local filesystem, bestie, all of them, no skipping π
Then it mails a warning message to all the users who have reached their softlimit. Like, "hey girl, you're at the limit, maybe chill" π
People typically run this via cron(8) β it's a set-it-and-forget-it kinda situation, main character energy fr fr β¨
π OPTIONS π
-F,--format=quotaformatβ does the thing for the format you specify (aka, it won't do the format autodetection, so you're telling it directly, periodt). The possible format names are:vfsoldβ the original quota format with 16-bit UIDs / GIDs;vfsv0β quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits;vfsv1β quota format with 64-bit quota limits and usage;xfsβ quota on an XFS filesystem ποΈ-q,--quota-tab=quotatabβ use quotatab instead of/etc/quotatabas the file with device description strings (peepquotatab(5)for the syntax, iykyk).-c,--config=configfileβ use configfile instead of/etc/warnquota.confas the configuration file (syntax lives inwarnquota.conf(5), go look πΈ).-a,--admins-file=adminsfileβ use adminsfile instead of/etc/quotagrpadminsas the file holding the administrators of the groups (syntax is inquotagrpadmins(5), bestie).-u,--userβ checks whether the users are not exceeding quotas. This is the default behaviour, so it's already doing this unless you say otherwise π-g,--groupβ checks whether groups are not exceeding quotas. And if a group is exceeding its quota, a mail gets sent to the user specified in/etc/quotagrpadmins. Teamwork, honestly π«Ά-s,--human-readable[=units]β tries to report used space, number of used inodes and limits in units that are way more appropriate than the defaults, because raw numbers are giving chaos π. Units can also be specified explicitly with an optional argument in the format[ kgt ],[ kgt ]where the first character specifies space units and the second character specifies inode units.-i,--no-autofsβ ignore mountpoints that were mounted by the automounter. Not today, autofs π-d,--no-detailsβ do not attach the quota report in the email. Short and sweet, no receipts π
π FILES π
aquota.userβ quota file at the filesystem root (version 2 quota, non-XFS filesystems)quota.userβ quota file at the filesystem root (version 1 quota, non-XFS filesystems)/etc/warnquota.confβ configuration file/etc/quotatabβ device description/etc/quotagrpadminsβ administrators of the groups/etc/mtabβ default filesystems/etc/passwdβ default set of users
π SEE ALSO π
quota(1), quotatab(5), quotagrpadmins(5), warnquota.conf(5), cron(8), edquota(8).
π AUTHORS π
warnquota(8) was written by Marco van Wieringen <mvw@planets.elm.net>, with modifications by Jan Kara <jack@suse.cz>. This reference page was written by Heiko Schlittermann <heiko@lotte.sax.de>, with modifications by Jan Kara. Legends only, honestly π
ok and that's the whole page, bestie!! this one comes straight out of the System Manager's Manual, section 8, and it's the WARNQUOTA(8) situation in all its glory. go forth and warn those quota-havers πβ¨π
π¦ where this page comes from
- alpine 3.24: quota-tools-doc 4.11-r0 Β· GPL-2.0-or-later
- centos-stream 10: quota-warnquota 1:4.09-10.el10 Β· GPL-2.0-only AND GPL-2.0-or-later
- centos-stream 9: quota-warnquota 1:4.09-4.el9 Β· GPLv2 and GPLv2+
- debian bookworm: quota 4.06-1+b2
- debian trixie: quota 4.09-1+b1
- fedora 43: quota-warnquota 1:4.10-2.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later
- fedora 44: quota-warnquota 1:4.11-2.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later
- nixpkgs unstable: quota 4.11
- opensuse-leap 16.0: quota 4.09-160000.3.1 Β· GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 Β· GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 Β· GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 Β· GPL-2.0-only
- ubuntu jammy: quota 4.06-1build2
- ubuntu noble: quota 4.06-1build6
- ubuntu questing: quota 4.09-1
- ubuntu resolute: quota 4.09-1build1
- ubuntu stonking: quota 4.11-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms