Find the answer to your Linux question:
Results 1 to 6 of 6
We have an RHEL 5 machine that is running out of disk space on one of its volumes. I've done what, as a newbie, I know to safely recover disk ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    11

    Disk Space Challenges

    We have an RHEL 5 machine that is running out of disk space on one of its volumes. I've done what, as a newbie, I know to safely recover disk space by, for example, tarring mysqldump output and expanded installation packages no longer needed. Where else might I look for space to recover?

    Many thanks in advance for your help!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Without knowing what's on your drive, it would be difficult to say what you can do. Creating compressed tarballs of log files and auto-generated backup files and moving those to off-line storage often helps. Just remember that old system management rule, data (stuff) expands to fill available storage space, plus 10%.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux User
    Join Date
    Aug 2006
    Posts
    458
    Quote Originally Posted by richlich View Post
    We have an RHEL 5 machine that is running out of disk space on one of its volumes. I've done what, as a newbie, I know to safely recover disk space by, for example, tarring mysqldump output and expanded installation packages no longer needed. Where else might I look for space to recover?

    Many thanks in advance for your help!
    you can use the find command to look for file with size more than a certain amount..eg
    Code:
    find /path -type f -size +100M
    search for files more than 100M

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    There's a great Gnome tool called baobab, it may already be installed on your system. It's sometimes listed as "Disk Usage Analyzer". It will give you a graphical representation of your filesystem or a particular folder in terms of their relative size.

    Be prepared to be surprised, it can be quite surprising to find out what's actually using your space. I suspect you'll find a lot in /var in terms of logs either way.

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Both ghostdog74 and bigtomrodneys' suggestions are very useful! I forgot about the find -size option. A lot of these tools have a number of lesser-used capabilities that can easily be overlooked or forgotten. I'm checking out baobab on my system now just to see what it does. Thanks folks!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I prefer the ring chart myself in baobab Rubberman, but the tree view can be quite helpful. Notice you can zoom in and out too for better analysis.

Posting Permissions

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