I noticed the following issue. My quota in ISPconfig is showing double the space used, in comparison with the check "du -hs". Below you'll find my setup. I have the same setup in a VM and there it works. But i don't know what is different... For all my sites it is showing double the space used. Below you'll find all specific for one website. My setup: Ubuntu linux 10.04. /etc/fstab Code: /dev/md0 / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 Code: # mount /dev/md0 on / type ext4 (rw,errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0) Code: # repquota -avug | grep web19 web19 -- 106388 153600 154624 13507 0 0 Code: # du -hs /var/www/clients/client2/web19 50M /var/www/clients/client2/web19 Code: # quota web19 Disk quotas for user web19 (uid 5002): Filesystem blocks quota limit grace files quota limit grace /dev/md0 106388 153600 154624 13507 0 0
The du command shows only the size of a given directory while repquota shows the size of all files owned by a specific user. So if files are not in that directory, they will be reported by repquota but not by du, so it is ok if the sizes differ. The relevant size for quota is the one reported by repquota and not by du. I guess that you have a copy of your web tree somewhere on that harddisk, thats why repquota shows the double size. You can e.g. use the find commaind to search for all files owned by a specific user to find where these copy is.
damn You are so right... when i saw your first line, i was like. duhh.. Than in it was made clear to me that my rdiff backup is also on there.... This explains the doubling of the size (exact ). Thank you so much for thinking with me on this one... I knew that repquota check the whole file system, but i totally forgot about the backup... Thanks!!!