View Full Version : disk space used not correct?
sander815
12-18-2003, 12:44 AM
i have a user with a phpbb forum with a pretty large mysql database
The phpbb forum dir is around 3.5 mb, database, when dled as backup and unpacked, is around 9 mb.
When i check the total disk space used, he is currently at 39 mb used??? How is that possible? I know its corrected once every 24 hours, but i waited 2 days to post this, and its still the same
No, theres no email and no backups in the dir :confused:
wnydesigners
12-18-2003, 02:06 AM
Has you done a back up of thier database?
And have you backed it up trough the site back up tool?
If you need more help, feel free to email me at william@wnydesigners.net
sander815
12-18-2003, 03:44 AM
yes, but downloaded and deleted immediately
teedee
12-18-2003, 05:31 AM
There were some issues mentioned in another thread where backups were not including database backups, maybe this could be the difference ?
DirectAdmin Support
12-18-2003, 10:58 AM
Hello,
Try re-running the quotacheck program to ensure that the system quotas are being recorded correctly.
repquota -ato check the current quota (what the quota system *thinks* everyone is using.
To update it, run:
/sbin/quotaoff -a;
/sbin/quotacheck -augm;
/sbin/quotaon -a;and then to re-run the nightly tally, run:echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
Then re-run the "repquota -a" to see if it fixed it.
It's also possible that it could be email usage, so have a look to make sure that isn't eating up the disk usage.
John
sander815
12-18-2003, 02:49 PM
can i do that as reseller?
login as: sander
Sent username "sander"
sander@www.xxx.'s password:
Last login: Thu Dec 18 16:04:41 2003 from xxxx-mx.xdsl.xxx.
[sander@ns sander]$ repquota -a
bash: repquota: command not found
[sander@ns sander]$
its not email, cause the domain hasn't even been resolved, and email hasn't been set
ProWebUK
12-18-2003, 07:05 PM
Originally posted by sander815
can i do that as reseller?
login as: sander
Sent username "sander"
sander@www.xxx.'s password:
Last login: Thu Dec 18 16:04:41 2003 from xxxx-mx.xdsl.xxx.
[sander@ns sander]$ repquota -a
bash: repquota: command not found
[sander@ns sander]$
its not email, cause the domain hasn't even been resolved, and email hasn't been set
Need to do it as root.
Chris
FarCry
12-22-2003, 08:20 AM
he is a "reseller" not an "admin" cant use root silly :P
ProWebUK
12-22-2003, 09:29 AM
Originally posted by phriendly-Mark
he is a "reseller" not an "admin" cant use root silly :P
Either way it needs to be done as root, whether he is an admin reseller or end user does not matter! its a simple fact :p
If you are a reseller / end user you will need to contact your host to have quotas updated in that way.
Chris
sander815
12-26-2003, 01:52 AM
it has been done, but still 37 mb in use
i don't really care about is, but find it strange its that big
when i dl a full backup, its, incl sql dbase, 10 mb....and theres no email
DirectAdmin Support
12-27-2003, 11:37 AM
Was the nightly tally re-run? Remember that what you see in DA doesn't get changed until the tally is run.
John
sander815
12-29-2003, 02:32 AM
yes, its been a couple of days since its done
disk usage is also changing as the db grows.
Maybe it gets counted twice or so?
DirectAdmin Support
12-29-2003, 11:27 AM
Hmm,
I'll just give you the things that DA uses to count the disk usage:
1) repquota / (or /home) and it uses the data from the first column for the appropriate name.
2) database total = adds all the directories in /var/lib/mysql where the directories match "username_*"
3) email total = /var/spool/mail/username + /var/spool/virtual/domain.com/*
It's recounted each tally.. so it has to be coming from one of those. Just go through manually and see where the data is coming from.
John
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.