I’ve not found the root cause yet but I dusted off an Ubuntu 18.04 server image and ran this on my V4K:
osmc@osmc-4k:~$ sudo mount -v -t nfs -o nvsvers=4 192.168.8.9:/tmp /mnt/test
mount.nfs: timeout set for Tue Oct 16 19:36:12 2018
mount.nfs: trying text-based options 'nvsvers=4,vers=4.2,addr=192.168.8.9,clientaddr=192.168.8.32'
mount.nfs: mount(2): Invalid argument
mount.nfs: trying text-based options 'nvsvers=4,vers=4.1,addr=192.168.8.9,clientaddr=192.168.8.32'
mount.nfs: mount(2): Invalid argument
mount.nfs: trying text-based options 'nvsvers=4,vers=4.0,addr=192.168.8.9,clientaddr=192.168.8.32'
mount.nfs: mount(2): Invalid argument
mount.nfs: trying text-based options 'nvsvers=4,addr=192.168.8.9'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.8.9 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.8.9 prog 100005 vers 3 prot UDP port 41116
mount.nfs: mount(2): Invalid argument
mount.nfs: an incorrect mount option was specified
so far, the same as you. Then I removed the -o nfsvers=4
bit:
osmc@osmc-4k:~$ sudo mount -v -t nfs 192.168.8.9:/tmp /mnt/test
mount.nfs: timeout set for Tue Oct 16 19:37:16 2018
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.8.9,clientaddr=192.168.8.32'
osmc@osmc-4k:~$ mount|grep test
192.168.8.9:/tmp on /mnt/test type nfs4 (rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.8.32,local_lock=none,addr=192.168.8.9)
It picks up version 4.2!
Can you tell me if it also works with you?
OK, I need to 'fess up. @Tom_Doyle has pointed out a typo in my command, nvsvers=4 that caused the errors in my case.