How To Use Initial Quota Setup To Enable The Disk Quotas In WHM?
Disk quotas assist you in monitoring each user’s disc use and enforcing the space limitations allocated to each account. It is at the first setup when quotas are enabled. The procedures in this tutorial only need to be followed in case the quotas aren’t activated at the beginning of setup.
Before setting up the quotas in WHM, you must first enable them at the operating system level for the majority of VPS and some dedicated servers. The Initial Quota Setup interface checks the server to make sure your cPanel users’ files are being used from the disk quotas on the folders. The MySQL databases will not be impacted by this quota.
Follow the steps given below for enabling the Initial Quota:
- Login to WHM.

- Navigate to the ‘Initial Quota Setup’ section under ‘Server Configuration’.

- You will get a warning that says – “Warning: enabling quotas on a machine that does not have kernel support for quotas may result in an unbootable system. This will only happen if you have compiled a custom kernel on your machine WITHOUT quota support. Proceed at your own risk”.
- In case your kernel does not support quotas, then an issue can occur. Since your server might have been set with quota enabled, it should be safe to continue.
- Click on ‘Proceed’ to continue.

- After this step, a screen will be displayed like shown below and a quota scan will be initiated.

- The disk scan process and quota setup will take some time to complete. Once the process is completed, you will see a ‘Done’ message on your screen.
That’s it! Now the disk quota is enabled for you. This will help you in keeping a track of your hard drive and its usage.
You can also perform the same steps through the terminal:
- Login to the server with the root login credentials
# ssh root@serverIP
- Run the cPanel script given below to enable the quota.
# /scripts/fixquotas
In CloudLinux 7, the cPanel updates or kernel updates will break the quotas. So in order to fix this issue, you have to run /scripts/fixquotas command in the terminal as the root user and then you have to reboot the server for enabling the changes that you made.