I am trying to automount (on reboot) an NFS thumb drive onto another raspberry pies in a cluster using fstab.
I have tried all the solutions on how to auto mount NFS drive on reboot using fstab
systemctl enable NetworkManager-wait-online.servicex-systemd.automountx-systemd.mount-timeout=5x-systemd.device-timeout=5
auto,vers=3_netdev,noauto,x-systemd.automount,x-systemd.mount-timeout=10,timeo=14,x-systemd.idle-timeout=1min
but none of them auto mounts nfs drive after a reboot. I have to use mount -a after a reboot.
I am using the following distribution on all raspberry pies:
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
The current fstab entry
rpi1:/home/pi/cloud /home/pi/cloud nfs noauto,x-systemd.automount,x-systemd.mount-timeout=5,_netdev 0 0
The easiest and non hassel solution I found is to install
nfs-commonpackage on the clients.