1 |
What should I do about the *-bin files in /var/lib/mysql? I've dropped |
2 |
the databases I've created and don't need anymore, but there's still a |
3 |
lot of files in there, and it's still 21G. There are several files |
4 |
there dated 2008 that are also on another computer. How do I safely |
5 |
remove them? |
6 |
|
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 |
> |