I don't understand how to use logrotate, but I'm pretty sure cron runs
it.  /var/lib/mysql was using 21G, so I think I can go in there (or at
least into the mysql client) and delete the databases that I myself have
created and am no longer using.  If I understood the command you
recommended it mounts / on /mnt/tmp and then du's it.  That's still
running, but isn't that the entire system?

On 07/17/11 17:17, Neil Bothwick wrote:
> On Sun, 17 Jul 2011 16:19:14 -0500, Michael Sullivan wrote:
> 
>> I'm running into space issues (my / partition is at 99% of capacity) and
>> I'd like some advice on what I can remove and how.
> 
> It's impossible to answer that without knowing what is on /. Is /var
> on /? If so do you use logrotate, or is /var/lib/mysql full of .bin files?
> 
> Without knowing what is taking up the space, you can't know what needs to
> be removed. The first step could be
> 
> mount --bind / /mnt/tmp
> du -ch /mnt/tmp/*
> 
> 


Reply via email to