And using this, the behavior you see is that upon first access (e.g., ls <share_mount_point>
) you see the list of contents in the NFS share – correct?
Could this be related to working over a WiFi connection? Doesn’t seem it should matter, but…
I tried the option string you provided:
media:/mnt/Share/exports /mnt/nfs/media-server nfs x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0
But it didn’t mount it upon first access. I had to mount it manually and then it was available – see below. I tried this after rebooting and waiting a minute or so in case it needed some time.
~$ ls -al /mnt/nfs/media-server
total 8
drwxr-xr-x 2 root root 4096 Apr 29 14:25 .
drwxr-xr-x 3 root root 4096 Apr 29 14:25 ..
~$ sudo mount -a
~$ ls -al /mnt/nfs/media-server
total 20
drwxrwxrwx 5 rod rod 4096 Jan 22 11:32 .
drwxr-xr-x 3 root root 4096 Apr 29 14:25 ..
drwxrwxrwx 8 rod rod 4096 Apr 19 15:03 Documents
drwxrwxrwx 4 rod rod 4096 Mar 28 2024 Software
drwxrwxr-x 2 rod rod 4096 Mar 24 19:10 Xfer