quotacheck

Scan a filesystem for disk usage; create, check and repair quota files. It is best to run quota check with quotas turned off to prevent damage or loss to quota files. More information: <https://manned.org/quotacheck>.

Install

All systems
curl cmd.cat/quotacheck.sh
Debian Debian
apt-get install quota
Ubuntu
apt-get install quota
Arch Arch Linux
pacman -S quota-tools
image/svg+xml Kali Linux
apt-get install quota
Fedora
dnf install quota-1
Windows (WSL2)
sudo apt-get update sudo apt-get install quota
Raspbian
apt-get install quota

Scan a filesystem for disk usage; create, check and repair quota files. It is best to run quota check with quotas turned off to prevent damage or loss to quota files. More information: <https://manned.org/quotacheck>.

  • Check quotas on all mounted non-NFS filesystems:
    sudo quotacheck --all
  • Force check even if quotas are enabled (this can cause damage or loss to quota files):
    sudo quotacheck --force mountpoint
  • Check quotas on a given filesystem in debug mode:
    sudo quotacheck --debug mountpoint
  • Check quotas on a given filesystem, displaying the progress:
    sudo quotacheck --verbose mountpoint
  • Check user quotas:
    sudo quotacheck --user user mountpoint
  • Check group quotas:
    sudo quotacheck --group group mountpoint

© tl;dr; authors and contributors