Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

rpi4 - Ubuntu 20.04.2 LTS - NFS drive not mounting on boot

$
0
0

I have been having an issue getting an NFS share to automatically mount on boot for a handful of rpi4's all running Ubuntu 20.04.2 LTS.

If I run a sudo mount -a the drive successfully mounts with no issues.

I have tried a variety of fstab options with no success. Below is the current config:

192.168.1.100:/mnt/media /mnt/media nfs _netdev,auto,nfsvers=4 0 0

Running sudo cat /var/log/syslog | grep nfs returns the following:

Jun 24 18:59:01 test-01 kernel: [ 7.865019] Installing knfsd(copyright (C) 1996 okir@monad.swb.de).

Jun 24 18:59:01 test-01 systemd[1]: nfs-config.service:Succeeded.

Jun 24 18:59:03 test-01 kernel: [ 18.820306] FS-Cache: Netfs'nfs' registered for caching

Jun 24 18:59:03 test-01 mount[1754]: mount.nfs: Network isunreachable

I am not sure if it is trying to mount before the network is online, but i thought the _netdev option prevented this.


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>