1 |
I don't understand how to use logrotate, but I'm pretty sure cron runs |
2 |
it. /var/lib/mysql was using 21G, so I think I can go in there (or at |
3 |
least into the mysql client) and delete the databases that I myself have |
4 |
created and am no longer using. If I understood the command you |
5 |
recommended it mounts / on /mnt/tmp and then du's it. That's still |
6 |
running, but isn't that the entire system? |
7 |
|
8 |
On 07/17/11 17:17, Neil Bothwick wrote: |
9 |
> On Sun, 17 Jul 2011 16:19:14 -0500, Michael Sullivan wrote: |
10 |
> |
11 |
>> I'm running into space issues (my / partition is at 99% of capacity) and |
12 |
>> I'd like some advice on what I can remove and how. |
13 |
> |
14 |
> It's impossible to answer that without knowing what is on /. Is /var |
15 |
> on /? If so do you use logrotate, or is /var/lib/mysql full of .bin files? |
16 |
> |
17 |
> Without knowing what is taking up the space, you can't know what needs to |
18 |
> be removed. The first step could be |
19 |
> |
20 |
> mount --bind / /mnt/tmp |
21 |
> du -ch /mnt/tmp/* |
22 |
> |
23 |
> |