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.

"Drive Space Warning"

Discussion in 'General Discussion' started by erick_paper, Nov 20, 2005.

  1. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    One of the automated scripts on my server called "Service Monitor" is sending me emails with text like this --

    What is this about and how can I find out what is on this disk? Sorry for my newbie Linux skills but hope someone can point me in the right direction on how to control this situation. I use CentOS 3.4. Thanks!
     
  2. RizyDeWino

    RizyDeWino Well-Known Member

    Joined:
    Aug 1, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Planet Earth
    As you are getting these messages for your root directory i.e. ' /' do the simple steps mentioned below to see which itmes are taking how much space :
    cd /
    Than when you are inside '/' directory , do this
    du -ah --max-depth=1
    This will show you the list of directories/files inside '/' directory aloing with their disk usage.
    So once you know which items are taking space you can take steps to make room accordingly.
    Hope this helps.
     
  3. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the help. How do I find out which folders are on "/sda5" so that I can start deleting files in there? Thanks!
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you do not know your way around a linux server you should not embark on deleting files unless you know for sure that you can delete them. If you want to learn how, you should probably look for some online tutorials on linux and the bash shell. If you don't want to go to all that trouble, you'll have to hire a server admin. Things like disk space are aspects of your server that you should be monitoring daily so that you never get into the situation you find yourself.
     
  5. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Gee thanks.
     
  6. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Do the following:

    cd /
    ls -al
     
Loading...

Share This Page