Submitted by swat2 on Thu, 02/28/2013 - 20:31
Gents,
I have a situation where the quotas are not being reported for my /home mount.
when I run a; virtualmin list-domains --domain --multiline
The Server Quota Used and User Byte Quota Used doesn't match up to the users whole server usage - it doesn't seem to be including usage from /home.
I initially had grpquota,userquota on /home but this didn't work either.
fstab: proc /proc proc defaults 0 0 /dev/xvda1 / ext3 grpquota,errors=remount-ro,usrquota 0 1 /dev/xvda2 none swap sw 0 0 /dev/xvda3 /home/ ext3 defaults 0 0
Please help :)
Regards, Tim
Status:
Active
Comments
Submitted by JamieCameron on Thu, 02/28/2013 - 23:16 Comment #1
Was the
/home
mount added after Virtualmin was installed? If so, you should go to System Settings -> Re-check Configuration, and make sure that it reports that user and group quotas are enabled for /homeSubmitted by swat2 on Mon, 03/11/2013 - 19:30 Comment #2
Hi Jamie,
Yes the /home mount was added after virtualmin (well, it was moved around anyway and changed from being a standard folder on / to being a mount on a different HDD)
I did what you said, and it said what you said it was enabled for /home but the quota still appears to be reporting the same information?
Is there something else I can do?
Thanks again.
Submitted by JamieCameron on Mon, 03/11/2013 - 22:35 Comment #3
Could you post the message that Virtualmin displays about quotas when you click Re-Check Configuration?
Submitted by swat2 on Mon, 03/11/2013 - 22:38 Comment #4
"Both user and group quotas are enabled for home and email directories."
Submitted by JamieCameron on Tue, 03/12/2013 - 15:32 Comment #5
Ok, that looks fine.
Try going to Limits and Validation -> Check Disk Quotas, and performing a re-check of quotas on all your filesystems. This will sync the quotas database with what is actually being used.
Submitted by swat2 on Tue, 03/12/2013 - 20:42 Comment #6
strangely... it only reports /
Output: Checking user quotas on / ..
.. done
Check group quotas on / ..
.. done
Submitted by JamieCameron on Tue, 03/12/2013 - 23:37 Comment #7
That seems like a problem. When you create new virtual servers, do their home directories get created under /home ?
Submitted by swat2 on Tue, 03/12/2013 - 23:52 Comment #8
Yes sir
Submitted by JamieCameron on Tue, 03/12/2013 - 23:54 Comment #9
In your
/etc/fstab
file, is the home directory mount/home
or/home/
?If the latter (as in your initial bug report), that may be confusing Virtualmin.
Submitted by swat2 on Wed, 03/13/2013 - 00:19 Comment #10
Eureka!
Checking user quotas on /home ..
.. done
Check group quotas on /home ..
.. done
removal of the trailing / in fstab on /home/ resolved the issue immediately following a config recheck and quota recheck.
Submitted by JamieCameron on Wed, 03/13/2013 - 00:48 Comment #11
Great! I will update Webmin to handle this case properly in future.
Submitted by swat2 on Wed, 03/13/2013 - 00:50 Comment #12
Thanks Jamie,
Happy customer for 5 Years 2 Months and counting :)