opussupport
Verified User
- Joined
- Sep 19, 2006
- Messages
- 25
I am having the opposite problem of the various posts about disk usage reporting, DirectAdmin is reporting much less usage than what I see what I actually look at the server.
Quota is set in /etc/fstab on CentOS 5.4 x64:
DirectAdmin is looking at /data where the home dirs are:
Doing a repquota /data I see this:
When I run the debug for the user jhphoto i get this:
But when I look on the server for his actual usage I see much differently:
and:
So my question is, why is DirectAdmin only seeing a portion of jhphoto's home directory usage? Everything in that user's directory appears to have proper permissions and ownership. Quota seems to report back numbers that look like they match up with what is actually in that user's directory, but when the tally runs, it seems to ignore most of the contents.
Quota is set in /etc/fstab on CentOS 5.4 x64:
Code:
/dev/sdb1 /data ext3 defaults,usrquota,grpquota 1 2
DirectAdmin is looking at /data where the home dirs are:
Code:
quota_partition=/data
Doing a repquota /data I see this:
Code:
root@web01-hn:/data/home/console > repquota /data
*** Report for user quotas on device /dev/sdb1
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 447100 0 0 4734 0 0
console -- 69400 0 0 45 0 0
webapps -- 2984 0 0 280 0 0
admin -- 236 0 0 28 0 0
hnadmin -- 155572 0 0 55 0 0
ridgleyblg -- 20964 0 0 781 0 0
colabra -- 53912 0 0 2951 0 0
flyglobal -- 323548 0 0 3181 0 0
higgins -- 1110856 0 0 37454 0 0
topanien -- 768088 0 0 30411 0 0
thinkplan -- 174068 0 0 6379 0 0
hevanet -- 32248 0 0 2444 0 0
mpacific -- 732 0 0 24 0 0
ftpwebmail -- 17116 0 0 2163 0 0
forumpac -- 84924 0 0 8859 0 0
abstftp -- 11036 0 0 429 0 0
kking -- 832 0 0 51 0 0
lecadftp -- 27016 0 0 1234 0 0
lstressftp -- 48644 0 0 3027 0 0
bpubftp -- 36972 0 0 3728 0 0
terraftp -- 16548 0 0 358 0 0
govlawftp -- 85784 0 0 2865 0 0
cwaftp -- 56192 102400 112640 2074 0 0
karaftp -- 14344 0 0 1022 0 0
[B]jhphoto -- 3474400 0 0 10012 0 0[/B]
datest -- 724 0 0 27 0 0
#526 -- 12 0 0 3 0 0
#1000 -- 8768 0 0 444 0 0
When I run the debug for the user jhphoto i get this:
Code:
root@web01-hn:/usr/local/directadmin > ./dataskq d800
Debug mode. Level 800
root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
staring queue
Tally User jhphoto Begin
/var/spool/mail/jhphoto is 0 : total: 0
/home/jhphoto/Maildir is 0 : realtotal: 0
/home/jhphoto/imap is 8192 : realtotal: 8192
/home/jhphoto/.spamassassin/spam is 0 : total: 0 realtotal: 8192
/home/jhphoto/.spamassassin/user_spam is 0 : total: 0 realtotal: 8192
/var/spool/virtual/johnhigginsphotography.com is 0 : total: 0 realtotal: 8192
Majordomo usage for /etc/virtual/johnhigginsphotography.com/majordomo : 0
databases for jhphoto
DAdminUsage.bytes for jhphoto
Counting found totals for jhphoto
total bw is 4189580488.000000 from 4189580488 (long long: 4189580488)
bw in meg: 3995.495308
meg converted to a string: 3995.5
spaceused: 0.000000 (just quota)
spaceused: 4295701.000000 (add dbtotal 4295701)
spaceused: 4295701.000000 (add emltotal 0) (fyi: realemltotal: 8192)
spaceused: 4295701.000000 (add apachetotal 0)
spaceused: 4295701.000000 (add anonftptotal 0)
spaceused, in meg: 4.096700
meg to temp: 4.10
user.usage quota: 4.10 actual: 4.096700 (should match)
user.uagae email_quota: 8192 actual: 8192 (should match)
Tally User jhphoto Complete
done queue
But when I look on the server for his actual usage I see much differently:
Code:
Advanced Search
Domain Bandwidth Disk Usage Log Usage Subdomains Suspended
johnhigginsphotography.com 1342.25 / shared [B]3392.36[/B] 0.0123167 0 no
Setting Current Usage Maximum Usage
Bandwidth (MB) 3994.8 2000 (+ 3000)
Temporary Bandwidth Increase (?)
Total Disk Usage (MB) [B]4.07[/B] 10000
Email Disk Usage 8.00 KB
Database Disk Usage 4.07 MB
and:
Code:
root@web01-hn:/home > du -h -x -c --max-depth=1
8.0K ./work
24K ./tmp
785M ./topanien
9.0M ./mysqlbackups
3.5M ./mpacific
[B]3.4G ./jhphoto[/B]
So my question is, why is DirectAdmin only seeing a portion of jhphoto's home directory usage? Everything in that user's directory appears to have proper permissions and ownership. Quota seems to report back numbers that look like they match up with what is actually in that user's directory, but when the tally runs, it seems to ignore most of the contents.