CentOS 7 LVM snapshot mount issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mylvmbackup |
New
|
Undecided
|
Unassigned |
Bug Description
I recently started using CentOS 7 and noticed an issue when running
mylvmbackup. I'm not sure if it's a bug or not because I only tried it on
one machine. Basically the issue is the UUID of the filesystem. After
creating a snapshot when trying to mount it I get an error.
I repeated the process manually creating an LVM snapshot and mounting
it and it seems to fail because the UUID of the filesystem is the same as
the currently mounted one. adding -o nouuid to the mount command
in mylvmbackup.conf fixed it. Just thought I'd let you know.
BTW it would be nice to have a pigz as a compression option. I'm usually
backing up largish databases and pigz being multithreaded compresses
them much faster than the other compression methods.
Hi Jason, thanks for the feedback. If you add the "--xfs" option to mylvmbackup, it will automatically add "-o nouuid" to the snapshot mount options.
Good suggestion on pigz, I'll keep that in mind (I'm currently somewhat behind in merging existing patches...)