Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-22-2003, 03:06 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Running out of space?

I have a question for you guys.

I am running RH8 as a small server, it has an 80GB hard drive.

However, it seems to be running out of space. I KNOW I haven't filled it up, I haven't put that much on it.

Anyway, what I was wondering is if there is an easy way to find out where all my space is being taken up......I'm wondering if maybe there are some log files or something that might be taking up massive amounts of space....Is there a tool that shows usage info like that? The file system program that RH8 comes with is a bit vague at times, unless I open up each files individual properties.

Also. I recently had some kind of fontserver problem that also related to running low on hard drive space (fixed, thanks to this board and others) Someone noted to me that it might actually be that not all my hard drive space partitioned so it can be used or something. Or something like that (let me see if I can find it)

Any thoughts?
Old 10-22-2003, 03:25 PM   #2
Registered: Aug 2002
Posts: 16,499

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
To see how much space is being used by each partition:
df -h

However each partition has a default 5% reserve for roots use only.

To see how the disk is partitioned (log in as root):
fdisk -l (thats a small L)
Old 10-22-2003, 03:38 PM   #3
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
If it's file bloat that's causing the disk usage, the most likely place to look is in /var and its subdirectories.
Old 10-22-2003, 06:09 PM   #4
LQ Newbie
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks! I'll give those a shot!
Old 11-28-2003, 05:01 PM   #5
LQ Newbie
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I ended up going out of town but I finally got to try this today.

I just wanted to say thanks, that helped me figure it out. /usr had most of the space allocated to it, but I run Apache out of /var. So I let Partition Magic do it's...well, magic, and things are now more in order with the way I use the server.

Thanks Again!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running out of space donkyboy Mandriva 9 01-04-2005 09:34 PM
help! running out of space! MadMonkey Linux - Newbie 5 09-01-2003 07:00 PM
Running out of disk space ann_tulip18 Linux - Newbie 33 07-11-2003 12:45 AM
running out of space on /usr namradi Linux - Newbie 2 05-27-2003 03:08 PM
swap space is running out ... yahelb Linux - General 4 03-14-2003 08:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration