Turn on quotas for Ubuntu/Debian

Good URL:

  1. Check to see if quotas are enabled on the current system. Run: mount
  2. Make sure the quota software is turned on with: dpkg -l quota*
  3. If it’s not installed install with: apt-get install quota
  4. Enable quotas on the file system you want quota support on. Edit /etc/fstab and add “,usrquota” to the end of the options section.
  5. Remount the file system you’ve enabled quotas for: sudo mount -o remount /
  6. Scan all the file systems for disk usage: sudo quotacheck -augmv