I'm running Ubuntu 9.04 AMD64, and I've run into a problem trying to use AutoFS to mount exports on my Ubuntu 8.10 server (with OpenLDAP for user auth). I used to have this entry in fstab which worked fine:
I'm not sure of the options here, but I have tried many variations on both of these files. I could not get a direct map to work. I had no errors in syslog or daemon.log. However, indirect maps do work with "/shared" in the master and test as the key in the map file.
I'm running Ubuntu 9.04 AMD64, and I've run into a problem trying to use AutoFS to mount exports on my Ubuntu 8.10 server (with OpenLDAP for user auth). I used to have this entry in fstab which worked fine:
files.example.com:/ /shared nfs4 rw,soft, intr,_netdev, auto 0 0
That entry mounted all of my exports under /shared exactly like it's supposed to. In /etc/auto.master, I have:
/- /etc/auto.shared
This should use the map file to create a direct map, and in the map file I have:
/shared -fstype= nfs4,rw, soft,intr, _netdev files.example.com:/
I'm not sure of the options here, but I have tried many variations on both of these files. I could not get a direct map to work. I had no errors in syslog or daemon.log. However, indirect maps do work with "/shared" in the master and test as the key in the map file.