3.2. Managing Disk Quotas

You can limit disk space that individual users and groups in a container can use with standard Linux tools from the quota package.

Before you can set disk quotas in a container, you will need to enable them for this container as follows:

  1. Set QUOTAUGIDLIMIT to 1 in container configuration file (/etc/vz/conf/<UUID>.conf) or run the command prlctl set <UUID> --quotaugidlimit 1.
  2. Restart the container.