I noticed a few hours ago that all quotas have disapeared from all of my sites. I rechecked the configuration and saw this "The module could not find the mount point for your home directories filesystem /home. Quotas editing has been disabled".
This is a OpenVZ VPS, CentOS 6.5. Quotas are definitely turned on. If I go to the "Disk Quotas" Webmin module I can see the user/group quotas for the / (simfs) filesystem.
I have rebooted the VPS several times, nothing relevant on Google.
Here are /etc/mtab and /etc/fstab
cat /etc/mtab
/dev/simfs / simfs rw,relatime,usrquota,grpquota 0 0
cat /etc/fstab
none /dev/pts devpts rw 0 0
tmpfs /tmp tmpfs noexec,nosuid 0 0
This is the same files from another OpenVZ VPS that have working quotas
cat /etc/mtab
/dev/simfs / simfs rw,relatime,usrquota,grpquota 0 0
cat /etc/fstab
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
Howdy,
Hmm, I suspect the fstab changed in a way that's confusing Virtualmin (and your other server may have this problem at some point as well).
I would suggest adding this line to your /etc/fstab file on the server having quota problems:
/dev/simfs / simfs rw,relatime,usrquota,grpquota 0 0
Once you do that, try using Webmin to enable quotas again.
-Eric
Those two files are the same on almost every single OpenVZ system I have ever seen. I put that in /etc/fstab and the error went away. Looks like the module should be checking the /etc/mtab file on OpenVZ systems.