Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
/dev/disk/by-uuid/26fa7362-fbbf-4a9e-af4d-da6c2744263c
8971324* 1048576 1048576    none   43784       0       0  
share|improve this question
1  
Ask the user to run quota and send you the results. –  Flup Mar 14 '13 at 8:34
    
outout of quota added –  Gursimran Mar 14 '13 at 10:26
    
What about quota -g (group quota)? Do you have quotas at all on that filesystem? Does running quotacheck help? –  Gilles Mar 14 '13 at 23:29
    
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 –  Gursimran Mar 15 '13 at 11:47

2 Answers 2

up vote 3 down vote accepted

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).

share|improve this answer
    
Both the commands you asked me to run gave my syntax error. edquota(8) gave me -bash: syntax error near unexpected token '8' –  Gursimran Mar 14 '13 at 18:54
1  
The (8) refers to section 8 (administrative commands) of the Unix manuals. –  vonbrand Mar 14 '13 at 19:17

Check your disk quota settings according to the following official Debian HowTo.

share|improve this answer
    
This is quite confusing, I have visited this guide before but it was of no help to me. –  Gursimran Mar 14 '13 at 18:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.