LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

quotacheck

Scan filesystems and build quota files

TLDR

Check quotas on all filesystems
$ sudo quotacheck --all
copy
Force check (may damage quota files)
$ sudo quotacheck --force [mountpoint]
copy
Check in debug mode
$ sudo quotacheck --debug [mountpoint]
copy
Check with verbose output
$ sudo quotacheck --verbose [mountpoint]
copy
Check user quotas
$ sudo quotacheck --user [user] [mountpoint]
copy
Check group quotas
$ sudo quotacheck --group [group] [mountpoint]
copy

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

INSTALL

sudo apt install quota
copy
sudo dnf install quota
copy
sudo pacman -S quota-tools
copy
sudo apk add quota-tools
copy
sudo zypper install quota
copy
nix profile install nixpkgs#quota
copy

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.

SEE ALSO

quota(1), quotaon(8), edquota(8), repquota(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid