How to disable use of bind mounts in autofs when the fs is exported from the local system in RHEL
Issue
-
When
autofsis configured with an entry for anNFSfilesystem that is exported from the local system, it willbindmount the exported directory instead of mounting it throughNFS. Is there a way to disable this functionality so its always mounted viaNFS?# mount | grep share /export/share on /mnt/myhost/share type none (rw,bind) -
I want to disable use of
bindmounts when the fs mount is local.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
autofsNFS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.