Re: XFS and multiple mounts protection (aka preventing multiple mounts)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/5/17 5:29 AM, Gionatan Danti wrote:
> Hi all, I have a question about multiple mounts protection in XFS.
> 
> On the iSCSI list, discussing how to avoid accidental multiple
> mounts, I received the following advise: "Use XFS. XFS won't let you
> mount it several time on different machines without various "force"
> options."
> 
> I just tried mounting an exported iSCSI disk formatted with XFS and I
> *can* mount it concurrently on two different Linux boxes (both CentOS
> 7.3 x86-64).
> 
> I am missing something? Thanks.

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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux