Good afternoon!
Virtualmin use a few months ago and at first I worked all right! I’ve added a server girders heartbeat and I had to move the entire /home to /data /home without problems, the only problem I have is that now the quota does not work for me!
I get the following error:
Space limits are not enabled on the filesystem /home contains the base directory /data. The issue of limits of space-based directories has been disabled.
I have enabled on the /data the quota, what I did when enabling those in the home and if I go to webmin, in the section on quota if the users see and tells me the quota they have, but since there is no way … Virtualmin …
there any way to define the quota Virtualmin to look are in /data ??? is in a file you can force?? and now my users can not see their quotas and it scares me that they can overcome these quota!
You can configure where quotas are enabled by going to Webmin -> System -> Disk Quotas. You can enable or disable them for any filesystem that’s mounted on your server.
Ah, is that an OpenVZ server? Quotas have been known to be a bit troublesome on it. Further, it looks like you’re using a ReiserFS filesystem, which also may not work out of the box even on a non-OpenVZ server
I’m not sure that you’ll be able to get quotas working on that setup… you may need to simply disable them, in System Settings -> Virtualmin Configuration, and set “Set quotas for domain and mail users” to No.
Some folks seem to be able to get that working, and others seem to have a crazy amount of problems getting qutoas working in that environment.
One thing you could try though is to go into Webmin -> System -> Disk Quotas, disable the quotas on your filesystem, then re-enable them. Afterwards, are you able to run the Re-check Config?
Well, Virtualmin shouldn’t care how your partitions are setup. In fact, most users (including myself) use a setup similar to yours – only one partition, the main / partition.
If you’re getting that message, it means that Virtualmin doesn’t think quotas are working for whatever partition contains /home (which, in your case, is the / partition).
One thing you might try to verify quotas are working as expected is to go to the command line, and run “quota -v USERNAME”. Upon doing that, what output do you receive? Do you see the correct quota info?