The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpanel disk usage

Discussion in 'General Discussion' started by johnchristy, May 3, 2014.

  1. johnchristy

    johnchristy Active Member

    Joined:
    Mar 7, 2014
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi

    i moved some backups to my home/abc folder last week, and i removed it after restore. still my cpanel shows

    Disk usage : 603.23 MB / ∞ but a simple du -sh shows that my abc folder usage is jut 18MB

    is there any default cron or something i can set to update these diskspace/bandwidth usage shown in cpanel to be updated periodically? may be once every hour?

    thanks
     
  2. iserversupport

    iserversupport Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    The usage will be automatically updated.
    Or you can run the script /scripts/fixquotas if you have any issue
     
  3. johnchristy

    johnchristy Active Member

    Joined:
    Mar 7, 2014
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator

    i already tried fix quotas, not helping the situation

    du -sh
    18M

    but whm/cpanel shows 603MB for this 1 account. Any other way to troubleshoot this?

    thanks
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I can see some user files are present on your server but outside the user home directory and due to that cPanel/WHM is showing files disk usage.

    You will have to find out that files using following command

    Code:
    find /home -user USERNAME | grep -v "/home/USERNAME"  
    Also check user quota through command

    Code:
    quota -v USERNAME
     
  5. johnchristy

    johnchristy Active Member

    Joined:
    Mar 7, 2014
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    thank you, you are correct

    find /home -user USERNAME | grep -v "/home/USERNAME"

    showed me few backup files under /home. After removing them, it shows correct space
     
  6. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    You are most welcome..!

    I'm happy to hear the issue is now resolved.
     
  7. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Glad that solved the issue for you. Thank you for updating this thread with your outcome.
     
Loading...

Share This Page