On 11/18/2014 07:42 AM, Phillip Susi wrote:

On 11/18/2014 1:16 AM, Chris Murphy wrote:
(stuff about UUIDs and LVM snapshots).
> (suggestion to use LVM paths instead).

This is also an XFS+LVM+LVM_Snapshot problem going back to at least 2009. It's inherent to the block-device-level snapshot phenomonia.

q.v. http://www.miljan.org/main/2009/11/16/lvm-snapshots-and-xfs/ et al

In XFS you attack the snapshot with a command to regenerate the UUID as soon as you take the snapshot. I don't think there is a "regenerate all my UUIDs" command for BTRFS.

There are other places this can bone you, like old-format mdadm mirrors, where the metadata was only at the end of the partition so you could accidentally see two copied of your RAID1 file system if you hand't built/started the array.

There is no really good way to prevent this other than "being really careful" or "not doing that at all".

Sorry. Cost of doing business. Cheers...
Rob.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to