Hello,
Yeah you can't mount images, we clear out the chunk tree so nothing works.
Let me know if you run into any problems in the future.  Thanks,

That's surprising, I haven't seen it mentioned anywhere.

With any other filesystem I could use an LVM snapshot to save the original state, but with a multi-device btrfs it would be very risky. Origin and snapshot volumes could easily get mixed up by kernel and tools.

I tried that in qemu, and I've seen btrfs happily mount 1 origin and 1 snapshot device as a single FS. And then I've seen it mount both origin devices, even though one of them had old content. Naturally it complained a lot about bad checksums.

Is there any way to avoid such mix-ups? To somehow mark devices so that btrfs would know these devices belong together?

Regards
--
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