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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.