Can't connect to FreeNAS using NFS v4

ams2990

Cadet
Joined
Sep 25, 2016
Messages
2
I'm using FreeNAS-11.2-U5 (c129415c52). I can connect to my NFS shares just fine using NFSv3, but get the unhelpful "Input/Output Error" on the client machine (running Bionic) when I try to connect using v4. I have v4 enabled in the GUI. I started debugging and it appears that v4 is indeed not running:

Code:
# rpcinfo -p
   program vers proto   port  service
    100000    2   tcp    111  rpcbind
    100000    2   udp    111  rpcbind
    100000    2 local    111  rpcbind
    100000    3   tcp    111  rpcbind
    100000    3   udp    111  rpcbind
    100000    3 local    111  rpcbind
    100000    4   tcp    111  rpcbind
    100000    4   udp    111  rpcbind
    100000    4 local    111  rpcbind
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100005    1   tcp    943  mountd
    100005    1   udp    943  mountd
    100005    3   tcp    943  mountd
    100005    3   udp    943  mountd
    100021    0   tcp   1001  nlockmgr
    100021    0   udp    603  nlockmgr
    100021    1   tcp   1001  nlockmgr
    100021    1   udp    603  nlockmgr
    100021    3   tcp   1001  nlockmgr
    100021    3   udp    603  nlockmgr
    100021    4   tcp   1001  nlockmgr
    100021    4   udp    603  nlockmgr
    100024    1   tcp    976  status
    100024    1   udp    976  status


I did a little digging into the FreeNAS configs to see if I could identify something wrong but have struck out. I saw it reads from the sqllite config database so I opened it up but the appropriate column is set to true. I don't know where to look next, so your help would be very much appreciated.
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
What's in your exports file? cat /etc/exports
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
I assume you have both NFSv4 & NFSv3 ownership model for NFSv4 checked in NFS service config and data/repo is owned by "wot". So how are you mouting this in Ubuntu?
 
Top