On my OpenVZ server, I have noticed that Disk Quotas are not functioning for virtual servers.
From what I understand, OpenVZ implements quotas per user and group, but only on the Root file system.
This was working before, but seems to have stopped working in a more recent release.
Quotas Still Work. If i use the Webmin module to set disk quotas per user and group, they are still functional, and I can still receive alerts, and send users alerts when they near, or are over their quota.
However, the front page cannot display quotas per virtual server, and since it is not working with Virtualmin, you cannot disable sites that go over their quota.
I think the problem is that it's looking for the Quota, set against the users home directory (under /home/*). due to the fact that their is only one partition (the root file system), the quota tab files are under located at /aqutoa.user & /aquota.group
Is there any chance to get a setting in Virtualmin that allows to choose a mount point when Enabling user quotas?
thanks!
Virtualmin will check if quotas are enabled on whatever filesystem contains /home (by default), which is either / or /home if the latter is a separate FS.
Try going to System Settings -> Re-Check Configuration in Virtualmin, and see if it reports that quotas are active or not.
right. i forgot to include the error i get when doing what you have suggested. sorry about that that
could this be because OpenVZ considers the root file system to be mounted to a psuedo-device/simulated filesystem? here is the relevant line from /etc/mtab
thanks again for the prompt reply
Last edit: Steven Page 2014-06-28
wait, there is not line in fstab
could this be the culprit?
sorry if im just shooting in the dark
edit: fstab does not include a mount point for the root file system. the home directory in question looks like this in fstab
Last edit: Steven Page 2014-06-28
ill see if i can try and add my root filesystem to /etc/fstab and maybe that will help. (sorry for all the messages)
Yes, you need to add a corresponding line to /etc/fstab
well, i'm pretty sure that it is working now. thanks jamie.
unfortunately, i messed up a line while editing my fstab and my container wouldent boot up :3 had to go in thru the emergency console.
regardless, I am very thankful to have got that cleared up.
kind regards,
-Steve