How to fix quota issue on openvz node

The parameter that controls the second-level disk quotas is QUOTAUGIDLIMIT in the Container configuration file. By default, the value of this parameter is zero and this corresponds to disabled per-user and per-group quotas.

Connect to OpenVZ node via SSH

Stop the VPS:

vzctl stop 101

Run this command to enable second level for a running VM.

vzctl set 101 –quotaugidlimit 10000 –save

Restart the VM.

vzctl start 101

(Check the Quotas inside the VM using the below command on the VM if cPanel is installed on the VM)

/scripts/fixquotas

Do the same for all existing VM and restart it to take the changes effect. To create a VM with second level quota enabled, add the below line in /etc/vz/conf/ve-vswap-solus.conf-sample

QUOTAUGIDLIMIT=”10000″

Change the below line in /etc/vz/vz.conf

CONFIGFILE=”basic” to

CONFIGFILE=”vswap-solus”

By anup

Leave a Reply

Your email address will not be published. Required fields are marked *