RHEL7: How can I setup and use "multi mount protection" for the ext4 filesystem?

Solution Verified - Updated -

Issue

  • How can I setup and use "multi mount protection" for the ext4 filesystem?
  • I have a blockdevice (for example a SAN LUN) which can be accessed by multiple Red Hat Enterprise Linux (RHEL) 7 systems. I want to use the ext4 filesystem ontop. How can I in a simple way prevent multiple systems to mount this filesystem at the same time? I do not want to use a cluster infrastructure.

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • ext4 filesystem
  • Multi Mount Protection (MMP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content