Newbie NFS question

Hi team - new to truenas and I am testing this amazing software. I have watched guides on youtube and I have virtualised truenas in proxmox and I am passing through my sata controllers and I can see all disks and I have made a pool and setup a SMB share - which i have sucessfully access
i have then created a NFS share (i have left everything at defaults) and I am trying to mount it in proxmox i get the following error

create storage failed: mkdir /mnt/pve/proxmox/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1518. (500)

i have mounted an NFS volume form my synology NAS and that works fine
i have tried adding network and host and both - I keep getting teh same error

so what am I doing wrong?

The problem is likely incorrect permissions in the dataset you are mounting. I forget which user Proxmox wants to be. The other thing I have noticed, with NFS shares is that I have to go into the settings for the share, click advanced options and set “maproot user” to root.

Do note that generally mapping all NFS access to the root account is contrary to best practice (security). In most cases changing owner of dataset to non-root user and then setting mapall to same non-root user has same impact without the larger security concerns.

1 Like

thank you mapping to root saolved hte problem