Re: panic on 4.20 server exporting xfs filesystem

Dave Chinner
2015-03-04T04:42:19Z

On Tue, Mar 03, 2015 at 09:08:26PM -0500, J. Bruce Fields wrote:
> By the way, Christoph, an unrelated question: how are the devices found,
> and what are the chances of a client writing to the wrong block device?
>
> (E.g., if they're addressed based on a uuid that doesn't change on
> cloning the block device, and if the client had access to another device
> with an identical copy of the filesystem, could it end up writing to
> that instead?)

As I understand it, nothing will prevent this - if you don't change
the UUID on the filesystem when you clone it, then the UUID will
still match and writes can be directed to any block deice with a
matching offset/UUID pair.

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com