Previous page

Next page

Locate page in Contents

Print this page

Enabling and Disabling Per-User and Per-Group Quotas

You can enable or disable per-user and per-group disk quotas for a Container by using the prlctl set --quotaugidlimit command and then restarting the Container. You can also disable quotas for all Containers by setting the DISK_QUOTA parameter to no in the global configuration file (/etc/vz/vz.conf).

To enable quotas, use:

# prlctl set 100 --quotaugidlimit 1

To disable quotas, use:

# prlctl set 100 --quotaugidlimit 0

Note: This command changes the QUOTAUGIDLIMIT parameter in the Container configuration file (/etc/vz/conf/<CT_ID>.conf).