On 05/05/2017 21:20, Eric Sandeen wrote:
I guess this has been covered, but: no. There is no cross-machine multi-mount protection in XFS. Nothing like ext4's MMP. There is a unique UUID test at mount time, so you can't i.e. mount the same path twice /on the same box/, but there is no mechanism in XFS to prevent the same disk from being mounted by 2 /separate/ machines on a SAN. -Eric
Thanks Eric. Just out of curiosity, there are some specific technical motivations to avoid this check?
One more pragmatic question: what kind of corruption can be expected from shot-lived (ie some seconds) double mount? For example, in raiserfs I remember an immediate catastrophic faileres when a double mount happened. On XFS it *seems* that filesystem remain more or less consistent (even an xfs_repair does not find nothing wrong).
Thanks again. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx GPG public key ID: FF5F32A8 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html