How to setup Automount/Autofs
- by matt wilkie
I've followed the ubuntu help docs for setting up NFSv4 on a server running Ubuntu 10.4LTS and now I'm trying to get Autofs (on ubuntu 10.10) to mount the exports, following these instructions. So far it doesn't work.
Where the docs say server -fstype=nfs4 server:/ I'm supposed to replace 'server' with my server's hostname right? If yes, should that be server-foo or server-foo.local?
# Sample /etc/auto.master file
# --- comments snipped --8<--
+auto.master # pre-existing
/nfs /etc/auto.nfs # added by me
.
# manually created /etc/auto.nfs
ubuntu-server.local -fstype=nfs4 ubuntu-server.local:/
ls /nfs/ubuntu-server /nfs/ubuntu-server.local shows nothing. What's the next troubleshooting step?