OS Manuals

/usr/bin/quotacheck

linux disk quota system tools

From quota-tools 4.11-r3 (os), captured 2026-11-05 by running quotacheck --help (exit 1). permalink

Utility for checking and repairing quota files.
quotacheck [-gucbfinvdmMR] [-F <quota-format>] filesystem|-a

-u, --user                check user files
-g, --group               check group files
-c, --create-files        create new quota files
-b, --backup              create backups of old quota files
-f, --force               force check even if quotas are enabled
-i, --interactive         interactive mode
-n, --use-first-dquot     use the first copy of duplicated structure
-v, --verbose             print more information
-d, --debug               print even more messages
-m, --no-remount          do not remount filesystem read-only
-M, --try-remount         try remounting filesystem read-only,
                          continue even if it fails
-R, --exclude-root        exclude root when checking all filesystems
-F, --format=formatname   check quota files of specific format
-a, --all                 check all filesystems
-h, --help                display this message and exit
-V, --version             display version information and exit

Bugs to jack@suse.cz
Options (16)
OptionDescriptionSource
-u, --userOnly user quotas listed in /etc/mtab or on the filesystems specified are to be checked.help + man
-g, --groupOnly group quotas listed in /etc/mtab or on the filesystems specified are to be checked.help + man
-c, --create-filesDon't read existing quota files.help + man
-b, --backupForces quotacheck to make backups of the quota file before writing the new data.help + man
-f, --forceForces checking and writing of new quota files on filesystems with quotas enabled.help + man
-i, --interactiveInteractive mode.help + man
-n, --use-first-dquotIf the quota files become corrupted, it is possible for duplicate entries for a single user or group ID to exist.help + man
-v, --verbosequotacheck reports its operation as it progresses.help + man
-d, --debugprint even more messageshelp + man
-m, --no-remountDon't try to remount filesystem read-only.help + man
-M, --try-remountThis flag forces checking of filesystem in read-write mode if a remount fails.help + man
-R, --exclude-rootWhen used together with the -a option, all filesystems except for the root filesystem are checked for quotas.help + man
-F, --format formatnameCheck and fix quota files of specified format (ie.help + man
-a, --allCheck all mounted non-NFS filesystems in /etc/mtabhelp + man
-h, --helpdisplay this message and exithelp
-V, --versiondisplay version information and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.