Problem scenario
You run a command like edquota, but you get an error about not finding a quota file to work on or no file systems with a quota have been detected. Or maybe you ran a quotacheck command and got an error about not being able to guess a format from a filename.
What should you do?
Solution
- Can you move the aquota.group or aquota.user file at the root of the file system to a backed up version (e.g., in your home directory)? Move it to a backed up name that you won't forget. (This way if you make a mistake, you still have the quota file.)
- Run this command (but use "vfsv0" if you are using a 32 bit OS):
sudo quotacheck -F vfsv1 -avum
- Run a command like this:
quotacheck -cug /path/to/filesystem
(but replace "/path/to/filesystem" with the path to the file system)
Another solution for this problem that was written in 2012 is here: https://talk.plesk.com/threads/hard-diskquota-install-error.258095/
(The above plesk.com link helped explain what to do for these directions too.)