Red Hat Bugzilla – Bug 150858
bad interaction nfsv4 autofs
Last modified: 2007-11-30 17:11:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)
Description of problem:
autofs has this map:
nbecker -fstype=nfs4 rpppc1.md.hnsnet:/disk1/nbecker
When rpppc1.md.hnsnet is the client, it doesn't work correctly. Without -fstype=nfs4, this will result in the following mount:
/disk1/nbecker on /home/nbecker type none (rw,bind)
But with -fstype=nfs4, it isn't a bind mount, it is nfs4.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ls ~nbecker
This is working as it should. When it is a local file system, autofs simply
does a bind mount. If you don't want it to do this, then you can either stick
with your solution (adding -fstype to the options), or you can specify -nosymlink.
You misunderstood me. With nfs4 it did NOT do a bind mount.
That is correct behaviour. If you believe it is not correct, then point to the
documentation which states otherwise.