I am trying to get an NFS share from my NAS to automount using either autofs or amd. I can mount it statically using /etc/fstab.
mybooklive:/nfs/Public /Public_nfs nfs user,rsize=8192,wsize=8192,exec,soft 0 0
but I would really like to get automounting working.
In all cases, I'm not getting any error messages and the service/daemon is running, I just can't seem to get them to mount
amd.conf is the default from the repo with the addition of
[ /public ]
map_name = amd.public
map_type = file
mount_type = nfs
I can verify that amd is running
/etc/init.d/amd status and
amq -m but it never mounts when
I also tried configuring autofs to automount by adding this to my auto.master
/misc -fstype=nfs,rw,soft,intr,nosuid,nodev,tcp,retry=10,rsize=8192,wsize=8192 192.168.1.122:/nfs/Public
I also tried indirect mapping with auto.misc with same behavior.
cd /misc/foobar comes back No such directory.