On Sat, 2006-05-13 at 22:14 +0200, Christian Hammers wrote:
> severity 367083 normal
> thanks

I put the severity to critical as it breaks the mysql server at restart
after upgrade, one will notice it, but it is annoying ;)

> Hello Jeroen
> 
> On 2006-05-13 Jeroen Massar wrote:
> > # LC_ALL=C df --portability /var/lib/mysql | tail -n 1 | awk '{ print ($4)
> > }'
> > 34536456K
> 
> > /var/lib/mysql is a symlink, maybe that causes the issue?
> No, the script explicitly checks "/var/lib/mysql/." to avoid this issue.
> 
> But your output has a little "K" appended to the number so awk translates
> this string into the number value 0. Do you use "export BLOCKSIZE=K" or
> similar?
> 
> Please check if
>    LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/.
> returns a number without a letter at the end.

Yep, that is indeed the case and the above fixes this issue.

Cool response and fix time! Thanks!

Greets,
 Jeroen

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to