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

Re: [cobalt-users] Free up space on /var



OK, I've discovered it's a 170 MB log in the /var/lib/mysql directory. How do I archive it and start a new one?

-Scott


On Monday, March 26, 2001, at 06:43 PM, <rpaiz@xxxxxxxxxxxxxx> wrote:

My disk indicator for my RaQ3i is showing red, apparently
because 91% of the /var directory is being used.  How can I
best free up space?

/var is taken up by things that change frequently. Do this...

cd /var
du -h --max-depth 1

This should show you which part of var is using the most space. If I'm
wrong on something, "man du" will get you help.

Two likely culprits are the logs (/var/log) and the mail spool files of
mail waiting to be collected by your users (/var/spool/mail). Check
those first, and if those aren't the problem du will help you hunt them
down.

--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx <mailto:rpaiz@xxxxxxxxxxxxxx>

--------------------------------
Scott Genevish
Training Systems Project Manager
Kinko's, Inc
(805) 477-5307
--------------------------------