Using Ubuntu 14.04 LTS, I have an NFS server set up to export some directories. The client machine (also Ubuntu 14.04) is using autofs with the following in /etc/auto.master:
/net -hosts suid
But if I ls /net it shows it's empty.
However, if I do:
showmount -e 10.10.10.103
it lists the exports.
I notice that -d shows nothing though:
showmount -d 10.10.10.103
Directories on 10.10.10.103:
The Ubuntu documentation mentions troubleshooting using a foreground automount, so I've tried that and get this (even after I've tried cd to /net in another terminal):
gilgongo@alice:~$ sudo automount -f -v
Starting automounter version 5.0.7, master map /etc/auto.master
using kernel protocol version 5.02
mounted indirect on /net with timeout 300, freq 75 seconds
I've also tried using the supplied auto.net script by changing the line in auto.master to:
/net /etc/auto.net
But that yields the same result.
I've rather not have entries in /etc/fstab and things, and like the idea of the client picking up the exports in /net. But why isn't the -hosts option working?