Trying to understand quota

elbarto

Verified User
Joined
Oct 8, 2008
Messages
133
I have a user who, according to DA, is using most of his assigned disk space but I cannot tell where is he using so much.

I followed the steps here:
http://help.directadmin.com/item.php?id=222

And the quota matches what DA shows.

Here's the output of quota (I changed the name of the user for security purposes).

Code:
[root@myserver ~]# quota -v myuser
Disk quotas for user myuser (uid 553): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/sda3  876484  1024000 1126400           16874       0       0

On DA I see this:

Total Disk Usage (MB) 858.0 1000
Email Disk Usage 295.3 MB
Database Disk Usage 1.56 MB

And where it shows the disk usage of each domain (this user has 4), the sum of them does not give the difference it should. These are the values for each domain:

11.5938
0.000408173
8.60547
6.98085

I also checked with du the size of the user's home folder and here's the output:

Code:
[root@myserver ~]# du -sh /home/myuser/
349M	/home/myuser/

Can you help me find out where the other near 500 MB which quota is reporting are? Is this an error on quota handling or is it me that I'm forgeting to look somewhere else?

Thanks!
 
try:
Code:
find / -user USERNAME
where username is the name of the user.

This will give you an idea of where the user's files may be found.

Jeff
 
Thanks, Jeff!
It seems I had some backup I had been working on a couple of weeks ago which belonged to this user. Now it's fixed.
 
Back
Top