MySQL will not launch if less than 4MB of disk space is available:
/etc/init/mysql.conf: LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/. | tail -n 1 | awk '{ exit ($4<4096) }'
This behaviour is OK, but it should not stop silently but report an error message so that the admin knows why it did not start.
MySQL will not launch if less than 4MB of disk space is available:
/etc/init/ mysql.conf:
LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/. | tail -n 1 | awk '{ exit ($4<4096) }'
This behaviour is OK, but it should not stop silently but report an error message so that the admin knows why it did not start.