LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running out of space? (https://www.linuxquestions.org/questions/linux-newbie-8/running-out-of-space-107225/)

reidsb 10-22-2003 02:06 PM

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?

michaelk 10-22-2003 02:25 PM

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)

DMR 10-22-2003 02:38 PM

If it's file bloat that's causing the disk usage, the most likely place to look is in /var and its subdirectories.

reidsb 10-22-2003 05:09 PM

Thanks! I'll give those a shot!

reidsb 11-28-2003 04:01 PM

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!


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