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

Re: [cobalt-developers] Help - The filesystem [/] is getting very close to full



> > >The filesystem [/] is getting very close to full.  This is very
dangerous
> > >for the server and can cause unexpected errors to occur.  You either
need
> >to
> > >move some files to another storage device and delete them from the
Cobalt
> > >server or delete them altogether.  Consult the documentation for help
> >adding
> > >storage to your Cobalt server.
> > >We have been having problems ever since, basically it seems the one gig
> > >system drive is getting too close to full for the swap file to work
right
> > >or something, can I allocate more space from the data drive or what can
I do
> > >about this ?

> > >Dico
> > >SU to root and type the following
> > >
> > >du -xS /| sort -n
> > >
> > >this will tell you where the folders are that are oversized or full.
> > >Also check your mail queue (mailq)

>> I telnetted in and did a   du-xS /| sort -n and it returned a list of
>> probably 50 directories... they each had a listing with a number in front
>> of them such as:
>>
>> 2428    /usr/src/linux-2.2.14C11/drivers/video
>>
>> I imagine that this is normal...?

> the larger the number at the front, the bigger the directory. If a
directory
> is larger than you anticipated then look for reasons.

It would probably also be useful to add the "h" option to the du as well -
this will put the result into "human readable format" - ie KB and MB.

Also, Cobalts aren't partitioned quite as well as I think they should be, so
you should always try to make sure that you only stick stuff into the /
partition if you really need it there.  There's always plenty of room in
/home for everything else.

Cheers,
               Dave Rowlands

PS - what ever happened to bottom posting and sniping on this one - took me
ages to sort it out :-)