One can navigate to (WHM >> Home >> Server Configuration >> Initial Quota Setup) for working on this feature.
This feature will require Kernel system for quotas on one’s server. If not, then the process of setup may result in an unbootable system.
It scans your server to confirm the usage of disk space quotas on the directories, where cPanel users store their files.
Quotas, on the other hand, does not limit the updates one user can make to a MySQL®, MariaDB®, or PostgreSQL® database.
Quotas including databases affect only the cPanel-related functions.
Processes runned by the system (PHP scripts) creating the files, can also create user-owned files unless the number of files reaches the limit of quota. It occurs because the kernel-enforced quota fails in accessing cPanel settings.
The system’s inability in writing necessary files (like a database lock file) cause the failure of the backup process for an account near or over its quota.
One can read our Enable Quotas on a Virtuozzo VPS documentation while running a Virtuozzo® Virtual Private Server (VPS) and for more information on quota-related issues, one can rely on How to Fix Quotas documentation.
Quota Setup
One can click on Proceed in order to perform the quota scan. After clicking on Proceed, the system will thereafter run the /scripts/initquota script, which ignores /home directory mount points which makes use of the options like: no, no auto, loop.
One needs to check the /etc/fstab file for the above-mentioned options to troubleshoot this issue.
Warnings:
Firstly, quotas are enabled as default on new installations.
Secondly, if quotas are disabled and then enabled again, then keep in mind to:
- Use WHM’s Initial Quota Setup interface (WHM >> Home >> Server Configuration >> Initial Quota Setup) to configure quotas.
- Run the /scripts/fixquotas script and reboot the server thereafter.
- Read the Red Hat XFS and XFS Quota Management documentation to know how to perform the /usr/local/cpanel/scripts/fixquotas script’s actions manually.
Thirdly, if the Quota System Administration notifications are enabled, the system will send notifications when ready to reboot and when the scanning of the quota finishes and are functional.
Lastly, CloudLinux 7 updates may break quotas. To avoid such breakage situation, one must run the /usr/local/cpanel/scripts/fixquotas script and then reboot the server after each CloudLinux 7 update.