Disk usage and bandwith always in zero

elcambur

Verified User
Joined
Jan 22, 2004
Messages
15
Hi
No matter how many files I upload to the server, the disk usage and bandwith for all the users in the server show zero.

What could it be?
 
It gets re-tallied every night (quotas shown in DA are currenly *not* live)

To update the quotas manually run the following command in ssh (as root)

echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

Chris
 
Hello,

As root, type:

quota -v username

to see what the system quotas think you have. Also, how are you uploading your files? where are you saving them and what user owns them.

John
 
This user has more than 4 MB in the folder public_html, I uploaded the files through FTP, the owner is user facilred


Disk quotas for user facilred (uid 506):
Filesystem blocks quota limit grace files quota limit grace
/dev/ubd/0 0 102400 102400 0 0 0
 
Hello,

Did you upload those files as root or facilred?

You can rerun the quotacheck program to update the system quotas (this is for RedHat):

/sbin/quotaoff -a;
/sbin/quotacheck -augm;
/sbin/quotaon -a;

John
 
I uploaded the files using the facilred user, I have many users in the server and all of them are uploading stuff, but the bandwith and disk usage are still in zero. I have no clue why this is happenning.

I run

/sbin/quotaoff -a;
/sbin/quotacheck -augm;
/sbin/quotaon -a;


but only the second one actually run, but the disk usage is still in zero.

these where the results.

[root@www root]# /sbin/quotaoff -a;
quotaoff: quotactl on /dev/ubd/0 [/]: No such process
quotaoff: quotactl on /dev/ubd/0 [/]: No such process
[root@www root]# /sbin/quotacheck -augm;
[root@www root]# /sbin/quotaon -a;
quotaon: using //aquota.group on /dev/ubd/0 [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //aquota.user on /dev/ubd/0 [/]: No such process
quotaon: Quota format not supported in kernel.
[root@www root]#

Thank you
 
You have to enable quota's in order for it to work, the log pretty much says it all "quotaon: Quota format not supported in kernel."

Update your kernel to include quota's.
 
I have updated my kernel and now quota's are working but I can not see the disk usage and bandwith for my users either.

I run
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

and nothing

my user shows

Disk quotas for user facilred (uid 506):
Filesystem blocks quota limit grace files quota limit grace
/dev/ubd/0 6076 102400 102400 689 0 0

it shows the number of blocks but directadmin it is still not showing the disk usage or bandwith

Thank you
 
Hello,

Check your /usr/local/directadmin/data/task.queue file... it shouldn't exist after 1 minute.. if it does, then you have no cron daemon running.

run:
/usr/sbin/cron

John
 
Back
Top