Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    92
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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,888
    Likes Received:
    90
    Trophy Points:
    78
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    You are most welcome..!

    I'm happy to hear the issue is now resolved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    143
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Glad that solved the issue for you. Thank you for updating this thread with your outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice