How to disable use of bind mounts in autofs when the fs is exported from the local system in RHEL

Solution Verified - Updated -

Issue

  • When autofs is configured with an entry for an NFS filesystem that is exported from the local system, it will bind mount the exported directory instead of mounting it through NFS. Is there a way to disable this functionality so its always mounted via NFS?
  • I want to disable use of bind mounts when the fs mount is local.

Environment

  • Red Hat Enterprise Linux (RHEL) 5 or 6
  • autofs

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.