Issue while mounting NFS share using the /net -hosts map via autofs
Issue
- When attempting to mount NFS shares via the '/net -hosts' map using
autofs, the mount operation fails with 'no such file or directory' error. - The /net directory does not display available NFS shares.
-
Attempts to access NFS shares under /net/hostname/share result in errors.
# cd /net/nfs-server/ -bash: cd: /net/nfs-server/: No such file or directory
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.