Automounting at boot using mount.nfs can be a bit finicky, depending on the many variables involved(nfs version, ext2/3/4, permissions, etc) it might be worth sharing your working /etc/fstab config here and referencing the hardware used. My setup:
Pi model B
OSMC Alpha 3
USB Wifi dongle and D-Link DNS 321(sad piece of hardware, I know)
I needed to declare fewer options to make it work and after some testing, eventually landed on this functional /etc/fstab line:
I’ve tried mounting using nfsvers=3 and it seems to crash the mounts. They mount, but as soon as I try read or copy files from the mountpoint osmc locks up and I have to reboot. Removing the nfsvers=3 flag seems to resolve the issue. Mostly, I was trying to run nfsvers=3 and set the protocol to UDP as I have had good performance results with those flags on raspbmc.
We don’t support Alpha2 anymore. A “me too!” without some valid description of some issue that doesn’t include logs demonstrating a problem is of no diagnostic use.
fair enough. I’ve rebuilt my OSMC-based RPi2 about a month ago so I should have whatever was the latest then. If there is a way to check what version I’m on please tell me and i’ll let you know.
As for the me too, I’m trying to mount a network share using fstab using the following line
//server/share /mnt/share nfs defaults,nolock,x-systemd.automount 0 0
After i rebooted a couple of times I checked using df -h and it’s not mounted. I’m not sure where to look for fstab errors log any advice would be appreciated.
paste-log: command not found. I think i’m going to rebuild my RPi2 and try again. I’ve tried apt-get update then apt-get upgrade and that seems to time out as well. I’ll post an update once done. Ta