Disk usage problem.

kotel

Verified User
Joined
Sep 15, 2006
Messages
35
Location
Russia
Hello!

After i installl new server, i have problem with disk usage. DirectAdmin show wrong disk usage (du -sh * - show real disk usage).
For example if real quota (without statistics file, but with mails and logs) is 50 mb, directadmin show 68 mb or more .

I try to reinstall quota, i try http://help.directadmin.com/item.php?id=42 and i try use the "echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue" but it not help.

I try to find on forum, but i can't find solution for same problem.

========================
I have:
Linux CentOs 4.6 : core 2.6.9-78.0.8.ELsmp
DirectAdmin (last version)
My disk structure:

Filesystem Mounted on
/dev/sda1 /
/dev/sda2 /tmp
/dev/sda3 /var
none /dev/shm

Soft:
Apache 2.0
Awstats
PHP Version 5.2.6 (suphp)
========================

Any ideas?
 
Last edited:
If for example you aren't using Dovecot, but the old system, you might be forgetting some files which are in /var/spool/virtual/ and /var/spool/mail/.
However, you might want to try this:
Code:
find / -type f -user <the username> 2> /dev/null
This will list all files which are counted in the quota for this particular user.
 
Icheb, thank you very much for you answer. But i'm in both server i have same soft configuration.

May be Any other views?
 
Back
Top