I am attempting to automount a nfs file share from another osmc. I edited /etc/fstab to read:
nfs://192.168.1.36/media/ /home/osmc/mnt/share nfs noatime,async,rsize=8192,wsize=8192,nolock,local_lock=all,soft,retrans=2,udp 0 0
when I attempt sudo mount -a, I get:
mount.nfs: NFS URLs are not supported.
I’ve removed the nfs:// at the beginning and now get:
osmc@osmc:~$ sudo mount -a -v
/boot : already mounted
/ : ignored
mount.nfs: timeout set for Mon Jul 27 00:11:15 2015
mount.nfs: trying text-based options ‘rsize=8192,wsize=8192,nolock,local_lock=all,soft,retrans=2,udp,vers=4,addr=192.168.1.36,clientaddr=192.168.1.12’
mount.nfs: mount(2): Invalid argument
mount.nfs: an incorrect mount option was specified
Try taking out the addr= option.
Please post the exact fstab file you have.