I know that many topics were written on quota and bandwidth but I have to write another one. I found a few bugs. But maybe I'll start the presentation of my setup.
in /etc/fstab
in directadmin.conf
I noticed that when one of the members the result of using a drive through the command du-sh / home / user I have:
2.2 GB
However, in the DA panel Disk usage is 4482.8.
I tried a few tips from the forum, for example http://help.directadmin.com/item.php?id=42
I used /sbin/quotaoff-a, /sbin/quotacheck-avugm, /sbin/quotaon-a;
and then
cd /usr/local/directAdmin
echo "action=tally&value=username&type=user">> data/task.queue
./Dataskq D800
Result:
But still, the difference between the high command and the Disk Usage of a panel of DA is 2.2 GB. How is this possible?
Another problem is bandwitdh.
First, I noticed that in detail for the user have only the last 3 days. Month starts from 1, not the 13th
Where are other days ?
Secondly, the "Complete Usage Statistic" I have differences.
Item Bandwidth (MB) - 103854
The item "Usage stats for eth0 - Transmitted - 350 GiB, Received-20 Gib"
But, for example, "Server History" for the month of February I: 508.71 GB
Where do they come from?
I would add that every night a backup of all users is sent to another server. But I still is too big difference.
in /etc/fstab
Code:
/dev/cciss/c0d0p1 / ext3 errors = remount-ro, rw, usrquota, grpquota 1 1
/dev/cciss/c0d0p5 none swap sw 0 0
Code:
quota_partition = /
I noticed that when one of the members the result of using a drive through the command du-sh / home / user I have:
2.2 GB
However, in the DA panel Disk usage is 4482.8.
I tried a few tips from the forum, for example http://help.directadmin.com/item.php?id=42
I used /sbin/quotaoff-a, /sbin/quotacheck-avugm, /sbin/quotaon-a;
and then
cd /usr/local/directAdmin
echo "action=tally&value=username&type=user">> data/task.queue
./Dataskq D800
Result:
Code:
./dataskq d800
Debug mode. Level 800
root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
staring queue
Tally User aero Begin
/home/aero/Maildir is 1966080 : realtotal: 1966080
/home/aero/imap is 1178042368 : realtotal: 1180008448
/home/aero/.spamassassin/spam is 0 : total: 0 realtotal: 1180008448
/home/aero/.spamassassin/user_spam is 0 : total: 0 realtotal: 1180008448
/var/spool/virtual/aeroklub.poznan.pl is 0 : total: 0 realtotal: 1180008448
Majordomo usage for /etc/virtual/aeroklub.poznan.pl/majordomo : 4096
databases for aero
DAdminUsage.bytes for aero
Counting found totals for aero
total bw is 1401195354.000000 from 1401195354 (long long: 1401195354)
bw in meg: 1336.284021
meg converted to a string: 1336.3
spaceused: 4638130176.000000 (just quota)
spaceused: 4684008572.000000 (add dbtotal 45878396)
spaceused: 4684012668.000000 (add emltotal 4096) (fyi: realemltotal: 1180012544)
spaceused: 4699815036.000000 (add apachetotal 15802368)
spaceused: 4699815036.000000 (add anonftptotal 0)
spaceused, in meg: 4482.092892
meg to temp: 4482.1
user.usage quota: 4482.1 actual: 4482.092892 (should match)
user.uagae email_quota: 1180012544 actual: 1180012544 (should match)
Tally User aero Complete
done queue
Another problem is bandwitdh.
First, I noticed that in detail for the user have only the last 3 days. Month starts from 1, not the 13th
Where are other days ?
Secondly, the "Complete Usage Statistic" I have differences.
Item Bandwidth (MB) - 103854
The item "Usage stats for eth0 - Transmitted - 350 GiB, Received-20 Gib"
But, for example, "Server History" for the month of February I: 508.71 GB
Where do they come from?
I would add that every night a backup of all users is sent to another server. But I still is too big difference.
Last edited: