Enabling quotas on OpenVZ guest (11.0)

Hello,
I own a virtual private server at VPSVille running openSUSE 11.0. The hardware node runs OpenVZ.

I need to use file system quotas to sell 7GB of disk space to a customer, possibly sharing between FTP and mailbox (I also opened a topic about configuring inbox in the Networking forum).

My problem is that I can’t enable 2nd level quotas on my system. The hardware node is configured correctly as I contacted support and they reported me no problem


marcus:/home/djechelon # mount
/dev/simfs on / type reiserfs (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

As you can see, quotas are enabled on the file system.
I followed a tutorial on how to enable quotas, so I have set the quotas for group phpmybittorrent to 100MB, but when I try to enable quotas I get the following:


marcus:/home/djechelon # quotaon -a
quotaon: using //aquota.group on /dev/simfs /]: Permission denied
quotaon: using //aquota.user on /dev/simfs /]: Permission denied

I also tried to enable quotas both from YaST and Webmin: the former says that no filesystem is quota enabled, and the latter just shows me the “enable quotas for groups and users” no matter I click on it.

VPSVille support is unable to help me configure quotas in openSUSE and suggested me to contact your forums.

Thank you in advance for your help.

I don’t know much about openvz and quotas but doing a search for openvz quota turned up quite a few hits with “problem” in the text. One post suggested that it had to be enabled in the openvz config, presumably by your vpsville admin. Do you know if their openvz supports quotas? It sounds like they themselves don’t know.

Their OpenVZ definitely supports quotas. I enabled quotas by myself from my control panel, then I had to reboot the server. When I contacted support I explicitly asked to check the hardware node, and they reported no problem.