Il 05-05-2017 14:25 Carlos Maiolino ha scritto:
As far as I know, don't, I can always be wrong, but, I re-checked xfs
superblock, and could not find anything that actually protects it.
So, how do you protect iSCSI targets from erroneous multiple mount? Do
you protect them only at the target/lun level (eg: access list on the
target/lun)?
Eh, I really don't know much about EXT4, but this only works if the
clocks are
properly adjusted (not really hard to achieve though), but still racy.
I think that the mechanism tracks the relative change in the mmp
structure, rather than absolute value. Sort of "look at it, sleep,
relook, if the value changed, then does not mount"...
Thanks.
--
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