NFS4: Couldn't follow remote path

It could be one of several things - check one thing at a time - then you know where the issue is buried.

  • a missing bind mount in the server’s fstab
  • or the missing export of the server’s root
    /srv/nfs            192.168.0.105(rw,sync,crossmnt,fsid=0)
    

And if I recall correct there is also something with using the IP in the mount unit - I think it has to be hostname.

It could be network related - disable the mount unit and add an .automount unit - then enable and start the automount unit - then navigate to the /data/nfs/www folder and watch if it populates.

/etc/systemd/system/data-nfs-www.automount

[Unit]
Description=Automount nas www
ConditionPathExists=/data/nfs/www

[Automount]
Where=/data/nfs/www
TimeoutIdleSec=10

[Install]
WantedBy=multi-user.target
1 Like