I run the following before tar-ing up the data directory:
STOP SLAVE; FLUSH TABLES WITH READ LOCK; FLUSH LOGS;
However, tar will sometimes complain that the
ib_logfiles* files are updated during the process. What am I missing?
The slave machine is in a cold standby machine so there are no client processes running while tar is running.
CentOS release 5.6 64bits, MySQL 5.1.49-log source distribution.