Article ID: 122662, created on Aug 15, 2014, last review on Aug 15, 2014

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

My user has 0 MB used out of -1 MB in unlimited files.
or
Disk Quota shown much more than it actually is in file manager.

Cause

This problem is caused by broken web server disk quota.

Resolution

  1. Log into the web server as root:

    su -
    
  2. Turn off disk quota:

    quotaoff [hsphere_partition]
    * /hsphere/ usually 
    
  3. Go to H-Sphere partition and remove files aquota.user and quota.user:

    cd [hsphere_partition]
    rm -f aquota.user quota.user
    
  4. Update aquota.user and quota.user files:

    quotacheck -m [hsphere_partition]
      * ignore "-m" for Free BSD
    
  5. Turn on disk quota:

    quotaon [hsphere_partition]
    
  6. Then log into CP server as root and change to cpanel user:

    su - l cpanel
    
  7. Reset user defined quotas:

    java psoft.hsphere.tools.SetQuota -lid [logical_server_id]
    

Search Words

Disk Quota shown much more than it actually is

My user has 0 MB used out of -1 MB in unlimited files

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF