Comment 2 for bug 383337

Revision history for this message
Brian Evans (grknight-scent-team) wrote :

From my understanding, the relpath option is:
"Relative path on the logical volume to the MySQL data directory."

As such, when the innodb_recover option is used, relpath must be taken into account.

A sample structure:
LV = /var/mysql
data-directory = /var/mysql/instance
mountpath=/var/tmp/mylvmbackup/mnt/backup
relpath=instance

mylvmbackup would snapshot /var/mysql, but incorrectly set the innodb_recovery --data-directory to /var/tmp/mylvmbackup/mnt/backup instead of /var/tmp/mylvmbackup/mnt/backup/instance