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
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: /var/tmp/ mylvmbackup/ mnt/backup
LV = /var/mysql
data-directory = /var/mysql/instance
mountpath=
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