How to fix unlimited quota problem in cPanel server: OpenVZ VPS

In OpenVZ based VPS unlimited disk quota is common problem. Fresh cPanel server often don’t show proper disk usages. It show zero usages and unlimited disk allocation. To fix unlimited fix quotation on dedicated server we can run following command.

# /scripts/fixquotas

It will fix dedicated server quota issue, but OpenVZ  VPSs requires a second level quota setup as the first level quota is configured during VPS container setup.

If you have access on main node. Then run following command to enable second level quota. If you don’t have access on main node, I’d suggest to contact with your vps provider to enable second level quota.
vzctl stop CTID
vzctl set CTID --quotaugidlimit 500 --save
vzctl start CTID

Now login to your VPS and run following command

/scripts/fixquotas

Done, now unlimited quota issue gone!

Leave a Comment