So, in summary looking at the mount -v output we see that this nfs server is not able to talk nfs4 but nfs3 fails since the rpc communication is borked. So, the error seems to be outside the OSMC device.
I would check the output of rpcinfo -p 127.0.0.1 on the Fedora system to see what has been registered and is available. Also check the netmask of the used IPv4 configuration on both sides but now I’m running out of ideas for the moment.
Others are welcome to help nickc with his router and Fedora NFS server to get it run.
Short hint: Make the defaults option the first in sequence in the lines of /etc/fstab. Later options can overwrite options specified by defaults as far as I understood the semantic, so
... nfs defaults,noauto, ...
(Nothing to do with your actual issue on the Fedora system.)
I was reading the Fedora manual on NFS and RPCBIND and it says to check using rpcinfo -p and no ip address. When I do that I see two entries for port 2049 labelled nfs. One is for the version 3 protocol and the other is for the version 4 protocol and both are for tcp.
I don’t know if that is significant or not to be honest but I will keep looking.
Ok, I edited /etc/exports and added FSID=n where n is a number >0 to each export. I then restarted nfs-server.
I now see:
[ncusack@localhost /]$ rpcinfo -p 127.0.0.1
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 52456 status
100024 1 tcp 43865 status
100005 1 udp 20048 mountd
100005 1 tcp 20048 mountd
100005 2 udp 20048 mountd
100005 2 tcp 20048 mountd
100005 3 udp 20048 mountd
100005 3 tcp 20048 mountd
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100021 1 udp 46664 nlockmgr
100021 3 udp 46664 nlockmgr
100021 4 udp 46664 nlockmgr
100021 1 tcp 40323 nlockmgr
100021 3 tcp 40323 nlockmgr
100021 4 tcp 40323 nlockmgr
so I am using 2049 for the nfs for both tcp and udp.
Unfortunately I am still not able to share
@Tom_Doyle thanks for the help.
I changed the entry as you indicated and I removed the other share just to keep it simple. The outputs are:
osmc@osmc:/$ sudo mount -v -a
/boot : ignored
/mnt/Expansion : ignored
osmc@osmc:/$ sudo mount -v /mnt/Expansion
mount.nfs: timeout set for Tue Mar 13 20:00:44 2018
mount.nfs: trying text-based options ‘nfsvers=3,addr=10.0.0.107’
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.0.0.107 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.0.0.107 prog 100005 vers 3 prot UDP port 20048
mount.nfs: mount(2): Device or resource busy