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

Re: [cobalt-developers] What is filling my /dev/hda1 ????



Mike,

Do a 'df' command and post the results to the cobalt-users list.  Not sure
if you mean the / partition or the /var partition?

Mysql is generally in /home/mysql no?  So that would be part of the /home
partition and would not be part of the disk usage problem you describe.

If its the /var partition that gives you the 93% perhaps its the log dir?
Once you do a 'df' and you know what partition is in fact chewing up space,
in shell, cd into that dir and run 'du' this will give you a list of all
files and their size recursively, and a total in MB.

If you find something large, or silly, like huge log files, or other files,
you can move it to the /home partition and setup a symlink.

Ie..

mv /var/log/ /home/log/
ln -s /home/log /var/log

If you do a ls -al you'll see the symlink.

lrwxrwxr-x    1 root     root           14 Aug 13 13:33 log -> /home/log

You can then do another 'df' check and the percentage should be reduced..

Others may agree/disagree with this method, but it has worked for me.

Cheers,

-- Zeke


P.S generally you would post this type of question to the cobalt-users list
and not the cobalt-developers list.  As the users list is for assistance
with troubleshooting issues, and the developers list is more for discussions
relating to software development / programming etc.. Etc..



On 8/13/03 1:10 PM, "Mike Wes" <m_wes@xxxxxxxxx> wrote:

> Hello,
> 
> For a while ago I asked the question below about /dev/hda1
> that was exceeding the 93%. I am still looking for the
> answer.
> 
> I have a thought about it: Is it possible the SQL databases
> are part of the normal /dev/hda1 ? I have several huge
> databases with some tables with over 800.000 records ... so
> when this is part /dev/hda1... it could be.
> 
> Does anybody know or this is part of /dev/hda1 ?
> 
> Regards,
> 
> Mike
> 
> --- Mike Wes <m_wes@xxxxxxxxx> wrote: > Hello,
>> 
>> I have a small question for the RAQ-4. Following a php
>> sysinfo, the
>> 
>> / ext2 /dev/hda1  should be 93%
>> 
>> The maximum size of this partition is 726MB. Has anybody
>> a
>> clue what is filling that partition up? It was 88% or or
>> 93%. It looks like it is clean something up ... but what?
>> 
>> 
>> Regards,
>> 
>> Mike Wes
>> 
>> 
> ________________________________________________________________________
>> Want to chat instantly with your online friends?  Get the
>> FREE Yahoo!
>> Messenger http://uk.messenger.yahoo.com/
>> 
>> _______________________________________________
>> cobalt-developers mailing list
>> cobalt-developers@xxxxxxxxxxxxxxx
>> http://list.cobalt.com/mailman/listinfo/cobalt-developers
> 
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://uk.messenger.yahoo.com/
> 
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>