Disk usage calculation

aleborg

Verified User
Joined
Nov 30, 2003
Messages
79
How is disk usage calculated? Does it check every files owned by each users. Does it include _every_ file in their home directory?
Take my admin account for example. According to DA the disk usage is 3.0351 MB but if I check with du the home-directory take up as much as over 800MB. Most files owned by root though. Is it because of that?

Well, this example isnt really a problem. But if thats true we have a problem with mails in IMAP directories. The directories created is owned by root and so is the mail to. And therefor no IMAP-mail is counted in disk qouta?
 
It adds it up for the user, then adds mysql, and then email disk usage every 24 hours. So it supposed to be everything.

Remember that the home directory contains all users information so if you were really checking the home directory the tally included all user files ;)
 
Everything in /home/$user/imap/ is included in the calculation even if the files are owned by root?
If so: Great!
 
For me it feels like the answer is no on this question.

root@server:/home/web39/imap# du -sh christeralsen.com/
281M christeralsen.com/

281M imap-directory. And DA tells me:
Total Disk Usage (meg) 23.2 60

Just 23.2M? And if this disk usage is calculated every night it should have fetched the imap-directories now.
 
I am not sure how DA collects email disk usage but it appears to me that only the Inbox is counted. If I move email out into a different folder the usage drops. I'm not sure if DA makes up for it counting the boxes as user data but this is something that needs looking into.
 
Any DA-support to answer? I would be happy to know if the whole imap-directory is counted or not. And if it isnt, will it be implemented in further releases?
 
Back
Top