NFS Share Mounting

broomwalker

Cadet
Joined
May 30, 2023
Messages
1
Hi,

I'm relatively new to all of this outside of Windows, so please go easy. I'm trying to setup a NFS share between two (2) VM's running off proxmox:
- 192.168.1.20 (Ubuntu Server VM)
- 192.168.1.22 (TrueNAS Scale VM)

I'm trying to setup a NFS share between them with TrueNAS as server, and Ubuntu as client.

I've generally followed the following process:
- Setup TrueNAS NFS share on /mnt/truenas/files (see below settings)
- Setup a new mount directory in Ubuntu sudo mkdir /mnt/files
- Give full permissions to the mount directory in Ubuntu sudo chmod 777 /mnt/files
- Install rpcbind in Ubuntu sudo apt install rpcbind nfs-common
- Mount the TrueNAS NFS share sudo mount 192.168.1.22:/mnt/truenas/files /mnt/files
- Have it automount on bootup /etc/fstab: 192.168.1.22:/mnt/truenas/files /mnt/files nfs rw 0 0
- I've then gone to open up the directory in: cd /mnt/files, but I get the following error:

bash: cd: files: Permission denied

Any suggestions on where I might be going wrong? Thanks!

The following is what's setup in TrueNAS:

1685502010616.png


1685502046283.png


1685502059350.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You could consider using the NFSv3 ownership model or switch off NFSv4. I would suggest the problem is that your user on the client doesn't match a user who has rights on the TrueNAS side.

You may also need to allow non-root mounts.
 
Top