Failure to mount NFS within Ubuntu VM

marclar

Cadet
Joined
Mar 5, 2021
Messages
5
I have:
  • TrueNAS using the IP 192.168.1.185
  • a dataset named pool0/media owned by root
  • an Ubuntu VM named ubuntu_mk with IP 192.168.1.160
  • an NFS share named /mnt/pool0/media, with "Mapall User" set to root

I can ping TrueNAS from Ubuntu and Ubuntu from TrueNAS.

However, when I try to mount the NFS share using the command:

sudo mount -t nfs 192.168.1.185:/mnt/pool0/media /mnt

I get the error NFS4: Couldn't follow remote path.

Kind of stuck... anyone know how to troubleshoot this problem?
 
Joined
Jan 7, 2015
Messages
1,155
In the NFS service options is NFS4 ticked?
 

marclar

Cadet
Joined
Mar 5, 2021
Messages
5
It is - this is what I currently have:
 

Attachments

  • Screen Shot 2021-03-31 at 5.50.27 PM.png
    Screen Shot 2021-03-31 at 5.50.27 PM.png
    76 KB · Views: 199
Joined
Jan 7, 2015
Messages
1,155
I have two differences and im mounting fine in Linux Mint. Not sure if related. I have never seen this particular error. I have NFS3 ownership model ticked and I have UDP unticked. I mount using an identical command with no problem.
 

marclar

Cadet
Joined
Mar 5, 2021
Messages
5
Hm... okay, thanks. Maybe I'll try with Linux Mint.

Did you do anything special with "Mapall User" or "Mapall Group" for your share? I only have one of those set but I'm kind of clueless here.
 

Attachments

  • Screen Shot 2021-03-31 at 6.03.15 PM.png
    Screen Shot 2021-03-31 at 6.03.15 PM.png
    68.2 KB · Views: 190
Joined
Jan 7, 2015
Messages
1,155
I do not have anything selected in those, but my users are all identical across systems with matching UIDs and such, ymmv. My user owns the data and my user is doing the mounting. Works beautifully. In fact im even doing the mounting across a site to site VPN and its flawless albeit slower.
 
Top