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.

HDD / issue

Discussion in 'General Discussion' started by parag joshi, Nov 11, 2009.

  1. parag joshi

    parag joshi Well-Known Member

    Joined:
    Sep 2, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    The hard disk partion / is 99% full on the server which is of 2 GB.

    However when we use du -h --max-depth 1 it does not show which file is occouping so much of disk space on /

    How can we find out what is cause of 99% disk usges full?

    Please advise.
     
  2. xerophyte

    xerophyte Well-Known Member

    Joined:
    Mar 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    du -csh *


    ?
     
  3. parag joshi

    parag joshi Well-Known Member

    Joined:
    Sep 2, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    0
    Hi!

    Tried this command and it gives this:-

    root@srv [~]# du -csh *
    8.0K anaconda-ks.cfg
    12K cpanel3-skel
    2.3M csf
    12K install.log.syslog
    4.0K public_ftp
    8.0K public_html
    4.0K tmp
    2.4M total


    However df -m says this:-

    root@srv [~]# df -m
    Filesystem 1M-blocks Used Available Use% Mounted on
    /dev/sda6 1984 1846 36 99% /

    Any idea?

    Thanks
     
  4. txspaderz

    txspaderz Active Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    When you ran that, you were not in / , you were in ~

    Run
    cd /
    du -hx --max-depth=1
     
Loading...

Share This Page