Results 1 to 19 of 19
  1. #1

    Wrong disk usage in WHM

    Hey guys,
    I'm having a problem with my /usr. When I check it through WHM it's 100% full. But when I check it through SSH ( du -sh /usr ). it's almost 50% full

    is there a way to let WHM recalculates the disk usage for /usr.

    note: i already tried to empty it. but the 100% in WHM never changed. I deleted about 3GB of files. but in WHM, still saying 9.4GB used from 9.9GB

    Thanks alot

  2. #2
    Join Date
    Jun 2009
    Location
    Kochi,India
    Posts
    177
    Hi

    Try to run these scripts to fix the quota issue
    /scripts/fixquotas
    /scripts/resetquotas

    If that doesn't fix the issue try to run a quotacheck using the command
    #quotacheck -avugfm
    Last edited by Rekhatitus; 07-11-2009 at 12:19 PM. Reason: add
    Ezeelogin -
    The ultimate multiple server administration software.
    *Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage*
    AdMod.com -Delivering innovative web hosting solutions

  3. #3
    Quote Originally Posted by Rekhatitus View Post
    Hi

    Try to run these scripts to fix the quota issue
    /scripts/fixquotas
    /scripts/resetquotas

    If that doesn't fix the issue try to run a quotacheck using the command
    #quotacheck -avugfm
    That should fix your issue. If you have a few hundred GB's of data on the servers, expect it to take upwards to 30+ minutes and plan for high loads during that time.

  4. #4
    thanks Rekhatitus,
    it looks like this is what I need.

    I run "/scripts/fixquotas" but it asked me to wait for 30 minutes. so I will wait until then and let you know if it get fixed.

    thanks again for the help

  5. #5
    Join Date
    Jun 2009
    Location
    Kochi,India
    Posts
    177

    *

    Ok and you are most welcome beautifulmind
    Ezeelogin -
    The ultimate multiple server administration software.
    *Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage*
    AdMod.com -Delivering innovative web hosting solutions

  6. #6
    thanks guys for the help.

    Here is what I did:

    - I ran "/scripts/fixquotas" and I waited for it to finish completely.
    - I checked the /usr space usage through WHM.
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2             9.9G  9.3G   55M 100% /usr
    - I checked it again through SSH. gives me 4.2GB!!
    Code:
    du -sh /usr
    - I ran the other two commands ( checking space usage after each one of them )
    Code:
    /scripts/resetquotas
    quotacheck -avugfm
    - now I am writing this reply. and the problem didn't get fixed yet.

  7. #7
    Join Date
    Apr 2009
    Posts
    184
    Run these commands

    quotacheck -acfmv
    /scripts/resetquotas
    mount -o remount,rw,usrquota /

    Is it a dedicated server or VPS?
    Offering Reliable Shared, Reseller, Master Reseller and Shoutcast Hosting.
    High Performance VPS Hosting with 99.9% Uptime.
    Providing
    Hosting Since 2006 Locally and Since 2008 Globally.

  8. #8
    Join Date
    Jun 2009
    Location
    Kochi,India
    Posts
    177
    Quote Originally Posted by beautiful mind View Post
    thanks guys for the help.

    Here is what I did:

    - I ran "/scripts/fixquotas" and I waited for it to finish completely.
    - I checked the /usr space usage through WHM.
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2             9.9G  9.3G   55M 100% /usr
    - I checked it again through SSH. gives me 4.2GB!!
    Code:
    du -sh /usr
    - I ran the other two commands ( checking space usage after each one of them )
    Code:
    /scripts/resetquotas
    quotacheck -avugfm
    - now I am writing this reply. and the problem didn't get fixed yet.
    If that didn't fix the issue, contact your webhost and tell them to recalculate the quota of your server.
    Ezeelogin -
    The ultimate multiple server administration software.
    *Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage*
    AdMod.com -Delivering innovative web hosting solutions

  9. #9
    Quote Originally Posted by linux2k View Post
    Run these commands

    quotacheck -acfmv
    /scripts/resetquotas
    mount -o remount,rw,usrquota /

    Is it a dedicated server or VPS?
    it's dedicated. and I tried all your suggestions. nothing new.

  10. #10
    Quote Originally Posted by Rekhatitus View Post
    If that didn't fix the issue, contact your webhost and tell them to recalculate the quota of your server.
    thanks Rekhatitus. It seems like this is the only thing I could do.

  11. #11
    Quote Originally Posted by beautiful mind View Post
    it's dedicated. and I tried all your suggestions. nothing new.
    If this is a managed hosting provider, I'd recommend contacting them for further assistance. Everything suggested should have fixed any "normal" problems.

  12. #12
    What does a "df -h" show when you run it for the /usr partition?
    cPanel Hosting
    Site5.com - Best support in the hosting business!

  13. #13
    Quote Originally Posted by AquariusADMIN View Post
    If this is a managed hosting provider, I'd recommend contacting them for further assistance. Everything suggested should have fixed any "normal" problems.
    I just contacted them. Thank you so much AquariusADMIN for the help.


    Quote Originally Posted by jphilipson View Post
    What does a "df -h" show when you run it for the /usr partition?
    It shows
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2             9.9G  9.3G   52M 100% /usr

  14. #14
    Quote Originally Posted by beautiful mind View Post
    It shows
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2             9.9G  9.3G   52M 100% /usr
    Then your /usr partition is really full, and it's not a false report. You will need to clear it up.

    It's a cPanel system, so most likely you have some large log files in /usr/local/apache/logs
    cPanel Hosting
    Site5.com - Best support in the hosting business!

  15. #15
    Quote Originally Posted by jphilipson View Post
    Then your /usr partition is really full, and it's not a false report. You will need to clear it up.

    It's a cPanel system, so most likely you have some large log files in /usr/local/apache/logs
    I already cleared the logs. I deleted about 3GB manually. but the used space is still the same.

    regards

  16. #16
    My host solved the problem by rebooting the server.

    Thanks everybody for your help.

  17. #17
    Join Date
    Jun 2009
    Location
    Kochi,India
    Posts
    177
    Glad to hear that your issue got resolved.
    Ezeelogin -
    The ultimate multiple server administration software.
    *Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage*
    AdMod.com -Delivering innovative web hosting solutions

  18. #18
    Quote Originally Posted by Rekhatitus View Post
    Glad to hear that your issue got resolved.
    Glad to have some people like you around to help.

  19. #19
    Join Date
    May 2009
    Posts
    31
    You may need to restart the services for updating the partition table..like apache and mysql restart.. It will re write the process space and you can view the correct value in

    df -h

  20. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. Virtuozzo VPS System Usage Meter Wrong?
    By linux4me in forum VPS Hosting
    Replies: 5
    Last Post: 01-13-2009, 01:11 PM
  2. bandwidth usage being wrong
    By ihostdev in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-08-2006, 04:18 AM
  3. Disk usage in PHP
    By flashwebhost in forum Programming Discussion
    Replies: 5
    Last Post: 07-28-2004, 06:49 AM
  4. [WHM/cPanel] FTP Bandwidth Usage Credits to the Wrong Account!
    By lintbox in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 06-07-2004, 03:57 PM
  5. Cpanel reporting wrong disk usage
    By e1ven in forum Hosting Software and Control Panels
    Replies: 7
    Last Post: 12-09-2003, 06:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •