Wanted to float this & see what people think...
Today, it's impossible (FSVO impossible) to change a V5 filesystem's
UUID, because that UUID is stamped into every bit of metadata. If
not impossible, it's unimplemented and any implementation would be
With 20/20 hindsight, an sb_meta_uuid field, separate from the sb_uuid
field that is userspace-visible, would have avoided this problem.
We can certainly add it, but it'd need to be an incompat change, because
old kernels would see this as catastrophic mismatching of every bit
of metadata on a V5 superblock filesystem.
Other than that little problem (o_O) it'd be trivial to implement.
p.s. Thanks to Zach for making me think about this, but I'm not
blaming him for my decision to propose it. ;)