CentOS 7 LVM snapshot mount issue

Bug #1507072 reported by Jason
6
This bug affects 1 person
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.

Revision history for this message
Lenz Grimmer (lenzgr) wrote :

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...)

Revision history for this message
Lenz Grimmer (lenzgr) wrote :

FWIW, there is a branch of mylvmbackup that contains code that adds the nouuid mount option automatically, if an XFS file system has been detected. But that code has not been merged (and the code bases have diverged quite a lot in the meanwhile): https://code.launchpad.net/~a.skwar/mylvmbackup/zfs

It might be interesting to revive the code parts that perform this automatic checking.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.