I have this weirdness with the reported disk usage:
Total Disk Usage (MB) 5999.6 7000
Email Disk Usage 3.09 GB
Database Disk Usage 174.1 MB
Quota reports:
myserver ~ # quota -s problematic_user1
Disk quotas for user problematic_user` (uid 1267):
Filesystem blocks quota limit grace files quota limit grace
/dev/mapper/vps-root
3065M 7000M 7700M 32406 0 0
Where do the other almost 3GB come from?
I've googled a way to get more detail:
myserver ~ # echo 'action=tally&value=problematic_user1&type=user' >> /usr/local/directadmin/data/task.queue
myserver ~ # cd /usr/local/directadmin/
myserver /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 problematic_user1 Begin
/home/problematic_user1/Maildir is 389120 : realtotal: 389120
/home/problematic_user1/imap is 427143168 : realtotal: 427532288
/home/problematic_user1/.spamassassin/spam is 0 : total: 0 realtotal: 427532288
/home/problematic_user1/.spamassassin/user_spam is 0 : total: 0 realtotal: 427532288
/var/spool/virtual/domain1.com is 0 : total: 0 realtotal: 427532288
Majordomo usage for /etc/virtual/domain1.com/majordomo : 2881523712
/var/spool/virtual/domains2.com is 0 : total: 2881523712 realtotal: 3309056000
Majordomo usage for /etc/virtual/domain2.com/majordomo : 4096
databases for problematic_user1
DAdminUsage.bytes for problematic_user1
Counting found totals for problematic_user1
total bw is 357497086.000000 from 357497086 (long long: 357497086)
bw in meg: 340.935789
meg converted to a string: 340.9
spaceused: 3229999104.000000 (just quota)
spaceused: 3412595160.000000 (add dbtotal 182596056)
spaceused: 6294122968.000000 (add emltotal 2881527808) (fyi: realemltotal: 3309060096)
spaceused: 6294122968.000000 (add apachetotal 0)
spaceused: 6294122968.000000 (add anonftptotal 0)
spaceused, in meg: 6002.543419
meg to temp: 6002.5
user.usage quota: 6002.5 actual: 6002.543419 (should match)
user.uagae email_quota: 3309060096 actual: 3309060096 (should match)
Tally User problematic_user1 Complete
done queue
But I don't really understand its output. Can anyone help me with this? This problem exists for a couple of users, not just a single one.
Total Disk Usage (MB) 5999.6 7000
Email Disk Usage 3.09 GB
Database Disk Usage 174.1 MB
Quota reports:
myserver ~ # quota -s problematic_user1
Disk quotas for user problematic_user` (uid 1267):
Filesystem blocks quota limit grace files quota limit grace
/dev/mapper/vps-root
3065M 7000M 7700M 32406 0 0
Where do the other almost 3GB come from?
I've googled a way to get more detail:
myserver ~ # echo 'action=tally&value=problematic_user1&type=user' >> /usr/local/directadmin/data/task.queue
myserver ~ # cd /usr/local/directadmin/
myserver /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 problematic_user1 Begin
/home/problematic_user1/Maildir is 389120 : realtotal: 389120
/home/problematic_user1/imap is 427143168 : realtotal: 427532288
/home/problematic_user1/.spamassassin/spam is 0 : total: 0 realtotal: 427532288
/home/problematic_user1/.spamassassin/user_spam is 0 : total: 0 realtotal: 427532288
/var/spool/virtual/domain1.com is 0 : total: 0 realtotal: 427532288
Majordomo usage for /etc/virtual/domain1.com/majordomo : 2881523712
/var/spool/virtual/domains2.com is 0 : total: 2881523712 realtotal: 3309056000
Majordomo usage for /etc/virtual/domain2.com/majordomo : 4096
databases for problematic_user1
DAdminUsage.bytes for problematic_user1
Counting found totals for problematic_user1
total bw is 357497086.000000 from 357497086 (long long: 357497086)
bw in meg: 340.935789
meg converted to a string: 340.9
spaceused: 3229999104.000000 (just quota)
spaceused: 3412595160.000000 (add dbtotal 182596056)
spaceused: 6294122968.000000 (add emltotal 2881527808) (fyi: realemltotal: 3309060096)
spaceused: 6294122968.000000 (add apachetotal 0)
spaceused: 6294122968.000000 (add anonftptotal 0)
spaceused, in meg: 6002.543419
meg to temp: 6002.5
user.usage quota: 6002.5 actual: 6002.543419 (should match)
user.uagae email_quota: 3309060096 actual: 3309060096 (should match)
Tally User problematic_user1 Complete
done queue
But I don't really understand its output. Can anyone help me with this? This problem exists for a couple of users, not just a single one.