quotacheck
Scan filesystems and build quota files
TLDR
Check quotas on all filesystems
SYNOPSIS
quotacheck [-a] [-f] [-v] [-u user] [-g group] [mountpoint]
DESCRIPTION
quotacheck scans filesystems for disk usage and creates or verifies quota files. It examines each file to determine how much space each user and group consumes.
Running quotacheck with quotas enabled can corrupt quota files, so quotas should typically be turned off first. The tool creates aquota.user and aquota.group files.
PARAMETERS
-a, --all
Check all mounted non-NFS filesystems-f, --force
Force check even with quotas enabled-v, --verbose
Display progress information-d, --debug
Enable debug mode-u, --user _user_
Check user quotas only-g, --group _group_
Check group quotas only-c
Create quota files if missing
CAVEATS
Best run with quotas turned off. Force flag can cause data loss. May take long time on large filesystems. Requires root privileges.
HISTORY
quotacheck is part of the Linux disk quota system, derived from BSD Unix quotas. It's essential for initializing and maintaining disk quota enforcement.
