I’ve got an NFS share I’m trying to mount with
autofs (on Fedora 34).
The share itself seems to work fine; i.e., this works:
$ sudo mount myserver:/store/share /mnt
ls /mnt will show the expected file list.
So, I’ve done the following:
$ cat /etc/auto.master.d/share.autofs /share /etc/auto.share $ cat /etc/auto.share share -fstype=nfs4 myserver:/store/share
But after I restart
$ ls /share
…shows nothing. (That is, the mount point has been created, but none of the files appear.)
The most mystifying part of this (to me) is that I’ve similarly configured NFS-mounted home directories from the same server, and that is working fine:
$ cat /etc/auto.master.d/home.autofs /home /etc/auto.home $ cat /etc/auto.home * -fstype=nfs4 myserver:/store/home/&
Any idea what might be going on here?