For cPanel & WHM 11.44
(Home >> Server Configuration >> Initial Quota Setup)
If you run cPanel & WHM on a Virtuozzo Virtual Private Server (VPS), you must perform extra steps in order to enable quotas.
cPanel & WHM quotas will not work unless you enable both first- and second-level Virtuozzo quotas.
Virtuozzo disk quotas
Virtuozzo servers use the following types of disk quotas:
- Per-container, or first-level, quotas allow system administrators to limit the amount of disk space and the number of inodes that a Virtual Server (Container) can use. This helps to control the sizes of VPS file systems.
- Per-user and per-group, or second-level, quotas allow the Virtual Server administrator to limit the amount of disk space and the number of inodes that users and groups in the VPS can use.
The Container (VPS) start-up process enables first-level quotas.
To determine whether first-level quotas are already enabled, run the following command:
QUOTAUGIDLIMIT parameter in the Container configuration file controls second-level disk quotas. By default, the value of this parameter is
0, which disables per-user and per-group quotas.
To view the parameter and its value, run the following command:
- If this command returns an empty result, or a result of
0, this environment does not support second-level quotas.
- A non-zero value in the
QUOTAUGIDLIMITparameter limits the number of file owners to the number that you assign to this parameter.
- The number of file owners includes Linux system users, and groups that are within the Container. You can create additional VPS users beyond this number, but these extra users cannot own files.
Enable second-level quotas
To enable second-level quotas for the Container, perform the following steps:
- Set the
QUOTAUGIDLIMITparameter to a value that is greater than zero.
Run the following command to enable second-level quotas:
- Restart the Container.