Quotas

scott9824

Verified User
Joined
Aug 8, 2005
Messages
43
Hi,

Disk Space (mb) 30.325

I know this isn't right, check this out.

[root@saturn /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 67G 2.7G 61G 5% /
/dev/sda1 99M 28M 66M 30% /boot
none 1014M 0 1014M 0% /dev/shm
/dev/sdb1 68G 794M 64G 2% /home
/dev/sdc1 68G 1.3G 63G 2% /var
/usr/tmpDSK 485M 8.1M 452M 2% /tmp
/tmp 485M 8.1M 452M 2% /var/tmp
[root@saturn /]# mount
/dev/sda3 on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sdb1 on /home type ext3 (rw,usrquota,grpquota)
/dev/sdc1 on /var type ext3 (rw,usrquota,grpquota)
/usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)
[root@saturn /]#

Is there a "fix quotas" script? I don't see why it's not working? :confused:

-Scott
 
There is a command you can use to initiate a quota tally. It can be found on these formums are at directadmin.com/help

Where are you getting your first quote from? And what are you trying to compare that to?
 
First quota is from "admin" directadmin, and second is from "root" SSH (df -h), just to show rough usage of /home and /var (mainly MySQL).

*** Report for user quotas on device /dev/sda3
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 2508072 0 0 108640 0 0
bin -- 31232 0 0 258 0 0
mail -- 76 0 0 43 0 0
ftp -- 20 0 0 5 0 0
vcsa -- 0 0 0 128 0 0
rpm -- 2216 0 0 92 0 0
ident -- 4 0 0 1 0 0
wnn -- 396 0 0 10 0 0
diradmin -- 76344 0 0 2128 0 0
majordomo -- 388 0 0 35 0 0
admin -- 30700 0 0 3550 0 0
dynamite -- 2576 0 0 238 0 0
xeeth -- 60 10240000 10240000 1 0 0
w3dict -- 60 10240000 10240000 1 0 0
azlyrics -- 60 0 0 1 0 0
#200 -- 2676 0 0 108 0 0
#301 -- 2468 0 0 146 0 0
#3168 -- 1168 0 0 71 0 0
#1000 -- 52380 0 0 4487 0 0
#1001 -- 50472 0 0 4669 0 0
#50138 -- 38108 0 0 3572 0 0
#1004 -- 3640 0 0 198 0 0
#1007 -- 7800 0 0 1181 0 0

It's just /dev/sda3 (which is /). /home is /dev/sdb1 and /var (/lib/mysql) is /dev/sdc1. :confused:

Thanks,
Scott
 
quota_partition should be the partition where your websites are; which should be something like / or /home, depending on the output of

df -h

So post the output and we can tell yo what it should be.

Jeff
 
yes.

I think you need quota on the web space partition so it can quota the files, and then it adds up the mysql db size manually and total's it up in DA.
 
Back
Top