How7o
  • Home
  • Tools
  • Prank Screens
  • Learn
  • Blog
  • Contact
Reading: How to Fix Quotas in cPanel
Share
How7oHow7o
Font ResizerAa
  • OS
Search
  • Home
  • Tools
  • Prank Screens
  • Learn
  • Blog
  • Contact
Follow US
© 2024–2026 How7o. All rights reserved.
How7o > Free Laravel, PHP, WordPress & Server Tutorials > Server Management > How to Fix Quotas in cPanel
Server Management

How to Fix Quotas in cPanel

how7o
By how7o
Last updated: May 22, 2026
5 Min Read
Fix broken cPanel disk quotas with the fixquotas script
SHARE

To fix broken quotas in cPanel when users see “your account may be over its quota” despite having free space, run /usr/local/cpanel/scripts/fixquotas as root over SSH. It rebuilds the kernel quota database from actual file ownership and clears the stale state that’s making cPanel report wrong usage.

Contents
  • The quick fix — fixquotas
  • Before fixquotas — verify the configuration
  • CloudLinux: INODES is a separate cap
  • Verifying the fix worked
  • Frequently asked questions
  • Related guides
  • References

Last verified: 2026-05-17 on cPanel & WHM 118 with CloudLinux 8. Originally published 2023-12-12, rewritten and updated 2026-05-17.

The quick fix — fixquotas

sudo /usr/local/cpanel/scripts/fixquotas

SSH in as root (or use sudo), run the script, wait for it to finish. The script remounts the filesystems with quotas enabled, scans the home filesystems’ inode ownership, and rebuilds the aquota.user / aquota.group files. Once it’s done, the cPanel disk-usage indicator updates to match reality.

Fix cPanel quotas — fixquotas script, package quota check, CloudLinux INODES

Before fixquotas — verify the configuration

  1. Confirm the home filesystem is mounted with quotas on.
    mount | grep -E 'usrquota|grpquota'
    If /home isn’t in the output, edit /etc/fstab to add usrquota,grpquota to its mount options, then mount -o remount /home.
  2. Check the package’s quota and inode limits in WHM. Home → Packages → Edit a Package — set the Disk Quota high enough to match what you sold the customer, and on CloudLinux servers set INODES to a sensible value (10,000–100,000 is common per account).
  3. Confirm the user account isn’t actually full. WHM → List Accounts shows current disk and inode usage; compare to the package limits.

CloudLinux: INODES is a separate cap

If you run CloudLinux on the cPanel server, the inode limit (number of files) is enforced separately from disk-space quota. An account with 5 GB free can still be blocked from uploading a single tiny file when it hits the inode cap — and the error message is identical to “over quota.” Check WHM → Packages → Edit a Package → Resource Limits → INODES and raise the limit if needed.

Verifying the fix worked

# Show quota usage for a specific user
sudo quota -u username

# Show every user's usage on /home
sudo repquota /home

The reported usage should match what du -sh /home/username shows. If the numbers still disagree by a wide margin, the quota database is still stale — re-run fixquotas with an explicit force flag (--force) or reboot the server during a maintenance window.

Frequently asked questions

Why do users see “may be over its quota” when the account has free space?

cPanel reads disk usage from the kernel quota system, not from du. If the quota database (aquota.user) is stale, corrupted, or the file system was mounted without quotas, cPanel will report the wrong number even though the disk is fine. The fixquotas script rebuilds the quota database from actual file ownership, which clears stale states.

Does fixquotas need the server to be in maintenance mode?

No, it runs on a live server. The script remounts the relevant filesystems with quotas on, scans inode ownership, and rebuilds the user/group quota files. It can take minutes on a busy server with many small files. Users will not be kicked off; their upload errors clear as soon as the rebuild finishes.

What if fixquotas doesn’t change anything?

Check three things: (1) the home filesystem is actually mounted with quotas — mount | grep quota should show usrquota/grpquota; (2) the package’s quota and inode limits are higher than the user’s actual usage in WHM → Modify an Account; (3) on CloudLinux servers, inode limits (LVE/CageFS) are a separate cap — set INODES properly in WHM → Packages or per-account.

Is this safe to run via cron on a schedule?

Most operators don’t — fixquotas is meant as a remediation tool, not a scheduled task. Running it nightly hides the underlying cause (filesystem mounted wrong, package misconfiguration). Fix the root cause and run fixquotas once. If you genuinely need recurring runs, cap it to weekly and watch the server’s logs for the trigger.

Related guides

  • How to Add a User to CageFS in CloudLinux cPanel
  • How to Access aaPanel Using a Domain and SSL
  • How to Retrieve the MySQL Root Password in aaPanel

References

cPanel fixquotas: docs.cpanel.net/whm/server-configuration/disk-quotas. CloudLinux INODES: docs.cloudlinux.com/lve_manager. Linux quota tools: man quota, man repquota.

TAGGED:CloudLinuxconfigurationcPanelLinux

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Copy Link Print
Previous Article Diagnose MySQL 100% CPU usage with PROCESSLIST and INNODB STATUS How to Find What’s Pinning MySQL at 100% CPU
Next Article Reduce high memory usage on Windows 11 How to Reduce High Memory Usage on Windows 11
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

FacebookLike
XFollow
PinterestPin
InstagramFollow
Most Popular
Laravel Eloquent ORM — a model class mapping to a database table with query methods
Laravel Eloquent ORM: The Complete Guide to Querying Your Database
June 16, 2026
Set vi as the default editor in Ubuntu — a terminal opening the vim editor
How to Set vi (Vim) as the Default Editor in Ubuntu
June 8, 2026
rsync says ALL DONE but files are missing — a terminal showing ALL DONE next to an empty folder
rsync Says “ALL DONE” but Files Are Missing: How to Verify
June 8, 2026
Migrate a website to a new server with rsync — files copying from an old server to a new one over SSH
How to Migrate a Website to a New Server With rsync
June 8, 2026
Bun runtime — faster JS toolkit replacing npm in Laravel projects
How to Install Bun Runtime on Ubuntu (And Use It in a Laravel Project)
May 24, 2026

You Might Also Like

Automatic logout timeout for command line in Ubuntu (TMOUT 300s)
Server Management

Automatic Logout Timeout for Command Line in Ubuntu (TMOUT 300s)

5 Min Read
Linux add and delete users from the terminal — adduser, passwd, sudo group, userdel
Server Management

How to Add and Delete Users on a Linux Server from the Terminal

7 Min Read
PHP Bangladeshi number format — 1,00,23,456.79 grouping
Web Development

Format Numbers in Bangladeshi / Indian Style with PHP

6 Min Read
Safely remove MySQL binary log files to free disk space
Server Management

How to Safely Clean Up MySQL Binary Log Files

5 Min Read
How7o

We provide tips, tricks, and advice for improving websites and doing better search.

Tools

  • Age Calculator
  • Word Counter
  • Image Upscaler
  • Password Generator
  • QR Code Generator
  • See all tools→

Pranks

  • Fake Blue Screen Prank
  • Hacker Typer
  • Fake iMessage Generator
  • Windows XP Crash Prank
  • Windows 11 Update Prank
  • See all prank screens →

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service
  • Sitemap
© 2024–2026 How7o. All rights reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?