How Do You Fix “Cannot find any quota file…” or “Cannot guess” after Running a Quota-Related Command?

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?


  1. Can you move the 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.)
  2. Run this command (but use "vfsv0" if you are using a 32 bit OS):
    sudo quotacheck -F vfsv1 -avum
  3. 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:

(The above link helped explain what to do for these directions too.)

Leave a comment

Your email address will not be published. Required fields are marked *