[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] expanding filesystem size
- Subject: Re: [cobalt-developers] expanding filesystem size
- From: "Matthew Nuzum" <cobalt@xxxxxxxxxxxxx>
- Date: Fri Mar 22 10:52:27 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> Hi
>
> I have a RAQ4 with a 40GB drive it. I run PHP 4.1.2-2 (thanks for
everyones help!) and MYSQL and the usual modules.
>
> The / partition was set to 920mb and is showing severe errors as it has
less than 6% free space.
>
> There doesn't seem to be any emp files around, the mal spool is fairly
light and the tmp directory is lightly used.
>
> 1. Is there any other temp files I can look for and delete?
> 2. How do I increase the size of /
>
>
> Kind regards
> Jamie Rossi
>
Hi, before you start doing that, it might be better to figure out what's
eating up all the space. I remember that when I first installed webalizer
it had a terrible problem of eating up disk space, so I had to make some
changes to that.
The best way to find out where your free space is going, do this as root:
du -x --max-depth=1 /
You'll get output similar to:
12 /lost+found
5474 /etc
8638 /bin
1673 /boot
27048 /lib
3 /mnt
5195 /root
6230 /sbin
626658 /usr
80 /dev
2381 /share
14 /nsr
316 /man
89 /include
684495 /
You'll want to look through there and figure out where the space is being
used, so you might want to run (using the output from above as an example):
du -x --max-depth=1 /usr
Once you find out where your disk hog is, you can more easily fix it. For
example, if java is the culprit, you can create a folder called /home/java
and then make a link so that /usr/java -> /home/java then you'll have more
space in /usr.
I hope this helps, if not, the above information will make trouble shooting
a lot easier.
Matt Nuzum