Disk quota exceeded problem

  • I am using Debian Squeeze. Suddenly I have started facing a problem that my user is not able to make directories and other such tasks. Running mkdir abc gives me

    mkdir: cannot create directory 'abc': Disk quota exceeded

    My hard disk is not full df -h results are

    Filesystem            Size  Used Avail Use% Mounted on
    /dev/md1              1.8T   39G  1.8T   3% /
    tmpfs                 7.8G     0  7.8G   0% /lib/init/rw
    udev                  7.8G  148K  7.8G   1% /dev
    tmpfs                 7.8G     0  7.8G   0% /dev/shm
    /dev/md0              243M   31M  200M  14% /boot

    uname -a output that might be needed is

    Linux server 2.6.32-5-686-bigmem #1 SMP Sun Sep 23 10:27:25 UTC 2012 i686 GNU/Linux

    Note: If I login as root then everything is fine. This problem is only with a particular user

    Edit: output of quota

    Disk quotas for user user (uid 1000): none

    output of quota -g

    Disk quotas for group user (gid 1000): 
    Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
    8971324* 1048576 1048576    none   43784       0       0  

    Ask the user to run `quota` and send you the results.

    outout of `quota` added

    What about `quota -g` (group quota)? Do you have quotas at all on that filesystem? Does running `quotacheck` help?

    output of `quota -g` added above. I dont know about quotas in my file system. All I know is that I have set unlimited in quota option in webmin for two of the users I am running on my debian. Suddenly this user has started giving me quota problem without any change made by me. Regarding `quotacheck` it is not working, giving me `-sh: quotacheck: not found`

  • vonbrand

    vonbrand Correct answer

    8 years ago

    The disk isn't full, but the disk space allowed for this user is full. You need to check quota(1), perhaps persuade the suspect to clean up their junk, or in an outburst of kindness increase it with edquota(8).

    Both the commands you asked me to run gave my syntax error. `edquota(8)` gave me `-bash: syntax error near unexpected token '8'`

    The `(8)` refers to section 8 (administrative commands) of the Unix manuals.

License under CC-BY-SA with attribution

Content dated before 6/26/2020 9:53 AM