Need help with an NFS share / Permission Denied

f20cd2

New Member
Jan 1, 2024
2
0
1
I've been looking online on how to fix my issue, and maybe I'm just not savvy enough to figure out the permissions required but here is my problem:

I have a folder on Machine A that I have an NFS export on. My /etc/exports file looks like this:

Code:
/mnt/media 192.168.2.0/24(rw,fsid=1,no_subtree_check,insecure,no_root_squash)

and the folder itself is a zfs datastore mounted to /mnt/media:

Bash:
ls -la /mnt
drwxrws---  8 root root    8 Dec 31 17:31 media

Bash:
zfs list
rpool/media                    562G  6.57T   562G  /mnt/media

When I try and add the NFS storage to Proxmox on Machine B, I get this error:

create storage failed: mkdir /mnt/pve/media/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1390. (500)
How can I go about adding the share to machine B? I don't care what account it uses, however the way all my lxc are set up right now they need to be able to read and write to the same share.

Any help would be greatly appreciated.
 
Last edited: