Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2003
    Location
    Atlanta, GA
    Posts
    31

    Default Disk Space Usage High

    On one of our servers, the disk usage is showing 70GB out of 80GB, but the user's quota in WHM is showing that the users are only using 28GB. I have cleared out the old log files, where would the rest of the usage be coming from?

  2. #2
    Member
    Join Date
    Feb 2006
    Posts
    73

    Default

    The Server Status Information should tell you with one of the drives having a red light. Otherwise just go and click on "Show Current Disk Usage" in WHM.

  3. #3
    Member
    Join Date
    Jul 2003
    Location
    Atlanta, GA
    Posts
    31

    Default

    I know which ones are high, I can't figure out where the space is getting used. As I stated, only 28GB are in user files, the log files are using only about 2GB. Does cpanel's updates end up stored on the server and never erased over time? Is that where a lot of the space could be going to?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by php-dawg View Post
    I know which ones are high, I can't figure out where the space is getting used.
    Run this command at the prompt and see which partition is full:
    df -Th
    If the partition is /home then run
    /usr/bin/du -Sha
    Last edited by AndyReed; 03-13-2007 at 08:57 PM.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  5. #5
    Member
    Join Date
    Oct 2004
    Location
    New Jersey, USA
    Posts
    160

    Cool

    rm -rf /var/log/*.1
    rm -rf /var/log/*.1.gz
    rm -rf /var/log/*.2
    rm -rf /var/log/*.2.gz
    rm -rf /var/log/*.3
    rm -rf /var/log/*.3.gz
    rm -rf /var/log/*.4
    rm -rf /var/log/*.4.gz


    Also my cpbackup has been spiraling lately, check any and all /home or /home2 directories like cptmp cpbackuptmp, anything with prefix 'cp' has probably filled the drive in a loop.

    Use those above too, will remove old archived logs. Save a gig or 3.
    -Kris
    HostMerit
    'Web Hosting on Your Terms'

  6. #6
    Member
    Join Date
    Jun 2007
    Posts
    76

    Default

    Quote Originally Posted by AndyReed View Post
    If the partition is /home then run
    /usr/bin/du -Sha
    What does this do once you run it?
    Last edited by yamaharr1; 03-13-2008 at 08:39 AM.

Similar Threads & Tags
Similar threads

  1. Disk Quota Mismatch in WHM (Disk Usage Too high)
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 11-09-2011, 09:43 AM
  2. High Disk Usage
    By darmoran in forum Optimization
    Replies: 5
    Last Post: 01-08-2010, 11:22 PM
  3. High Disk Usage
    By darmoran in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-08-2010, 12:42 AM
  4. Disk space usage too high.
    By erinspice in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-17-2009, 08:30 PM
  5. Mail usage: show disk space used does not match actual disk usage
    By NNNils in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-25-2004, 07:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube