5 posts / 0 new
Last post
#1 Fri, 10/06/2006 - 19:08
hescominsoon

quotas error

I get this when i check my settings in virtualmin: Quotas are not enabled on the filesystem / which contains email files under /var/spool/mail. Quota editing for email has been disabled.

however repquota hsows the following: repquota -a *** Report for user quotas on device /dev/cciss/c0d0p2 Block grace time: 7days; Inode grace time: 7days Block limits File limits

User used soft hard grace used soft hard grace

root -- 1185784 0 0 47921 0 0 daemon -- 20 0 0 3 0 0 lp -- 8 0 0 1 0 0 ftp -- 8 0 0 1 0 0 rpm -- 17108 0 0 67 0 0 netdump -- 16 0 0 2 0 0 rpcuser -- 8 0 0 1 0 0 smmsp -- 16 0 0 2 0 0 roberth -- 4 0 0 1 0 0 mysql -- 21260 0 0 55 0 0 apache -- 24 0 0 3 0 0 named -- 32 0 0 4 0 0 webalizer -- 32 0 0 4 0 0

501 -- 4 0 0 1 0 0

*** Report for user quotas on device /dev/cciss/c0d0p3 Block grace time: 7days; Inode grace time: 7days Block limits File limits

User used soft hard grace used soft hard grace

root -- 77892 0 0 4 0 0 roberth -- 48 0 0 6 0 0

[[root@web1 ~]]# repquota -a *** Report for user quotas on device /dev/cciss/c0d0p2 Block grace time: 7days; Inode grace time: 7days Block limits File limits

User used soft hard grace used soft hard grace

root -- 1185784 0 0 47921 0 0 daemon -- 20 0 0 3 0 0 lp -- 8 0 0 1 0 0 ftp -- 8 0 0 1 0 0 rpm -- 17108 0 0 67 0 0 netdump -- 16 0 0 2 0 0 rpcuser -- 8 0 0 1 0 0 smmsp -- 16 0 0 2 0 0 roberth -- 4 0 0 1 0 0 mysql -- 21260 0 0 55 0 0 apache -- 24 0 0 3 0 0 named -- 32 0 0 4 0 0 webalizer -- 32 0 0 4 0 0

501 -- 4 0 0 1 0 0

*** Report for user quotas on device /dev/cciss/c0d0p3 Block grace time: 7days; Inode grace time: 7days Block limits File limits

User used soft hard grace used soft hard grace

root -- 77892 0 0 4 0 0 roberth -- 48 0 0 6 0 0

[[root@web1 ~]]#

any ideas why virtualmin is not acting correctly when quotas are setup correctly and active?

Fri, 10/06/2006 - 19:10
hescominsoon

it gets even more strange..when i go back to the main virtualmin page i see hte following:

Disk quotas Not active on home directories filesystem.

Sat, 10/07/2006 - 13:39
Joe
Joe's picture

Hey William,

What filesystem type is it?

It looks like maybe this is some kind of virtual server, as well, which often have either no quota support, or oddly broken quota support.

Another user noted that on his system that uses ReiserFS (maybe just specific to the distro he was using), he had to change the configuration of the Webmin Disk and Network Filesystems module (in the System category) to point to /etc/mtab instead of /etc/fstab. I'm not sure why that would work, but it worked for him, so it might be worth a try.

--

Check out the forum guidelines!

Sun, 10/08/2006 - 20:20 (Reply to #3)
Joe
Joe's picture

Hey William,

I should amend my earlier comment. I didn't stop to think where mtab is coming from, and what effect using it for Disk and Network Filesystems configuration data would have. It'll cause the Webmin module to be unable to edit your filesystem configuration...mtab is auto-generated each to the system is booted or a filesystem is mounted or umounted.

We probably ought to figure out if the Webmin module is just getting confused by your fstab. Perhaps you could post is here.

--

Check out the forum guidelines!

Thu, 10/12/2006 - 16:35
hescominsoon

I found the issue. i had to go into webmin and enable quotas in webmin. for some reason webmin was unable to see tha quotas were already enabled and would not work until i had webmin enable quotas again. seems to be a webmin bug. filesystem is ext3.

Topic locked