[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] expanding filesystem size



Thanks for the advice.

I ran the command and go the following

12      /lost+found
5917    /etc
3875    /bin
2426    /boot
14061   /lib
10      /mnt
42984   /root
6238    /sbin
623443  /usr
80      /dev
14      /nsr
699072  /


The big item seems to be the / folder which is very full.

Can I create /home/root2 then create a symbolic link from / to this?

Or do I create a symbolic link in /usr/doc for example and move the
files to the new location?


Regards

Jamie
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx] On Behalf Of Matthew
Nuzum
Sent: 22 March 2002 15:03
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] expanding filesystem size


> 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

_______________________________________________
cobalt-developers mailing list cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers