I feel like I've tried everything I can think of or find on the internet, but this issue just won't go away.
My setup:
- one node proxmox ve
- synology nas
- attempting to set up pbs as lxc (debian 11) on the ve, using an nfs on the nas as the datastore
I have created the folder on the nas, configured it to allow the proxmox host to connect it, and successfully mounted it on the host. I then mount it on the pbs lxc using a mountpoint. At this point, both the host and pbs can successfully access (and write) on the nfs, and I can access the pbs web ui.
But when I attempt to add the folder as a datastore, I get permission issues.
This is the error on the cli
It is actually successful in creating the subfolder but fails afterwards. Permissions show up as nobody / nogroup, which makes sense since synology is mapping those to the user 1024.
For the NFS share, I have tested mapping all to admin (on synology that seems to be the actual admin account 1024, not root), as well as mapping root to admin, and no mapping. Not much of change (though without mapping, I'm not able to write on the share).
What am I missing here? Should I instead run the pbs as priviledged so I could try mounting the nfs directly? Still not sure that would help given that the guest is still able to write as it is. Also the user `backup` is able to write to the nfs.
My setup:
- one node proxmox ve
- synology nas
- attempting to set up pbs as lxc (debian 11) on the ve, using an nfs on the nas as the datastore
I have created the folder on the nas, configured it to allow the proxmox host to connect it, and successfully mounted it on the host. I then mount it on the pbs lxc using a mountpoint. At this point, both the host and pbs can successfully access (and write) on the nfs, and I can access the pbs web ui.
But when I attempt to add the folder as a datastore, I get permission issues.
This is the error on the cli
root@backup:/nas-backup# proxmox-backup-manager datastore create nas-backup /nas-backup/proxmox
TASK ERROR: unable to create chunk store 'nas-backup' at "/nas-backup/proxmox" - EPERM: Operation not permitted
It is actually successful in creating the subfolder but fails afterwards. Permissions show up as nobody / nogroup, which makes sense since synology is mapping those to the user 1024.
For the NFS share, I have tested mapping all to admin (on synology that seems to be the actual admin account 1024, not root), as well as mapping root to admin, and no mapping. Not much of change (though without mapping, I'm not able to write on the share).
What am I missing here? Should I instead run the pbs as priviledged so I could try mounting the nfs directly? Still not sure that would help given that the guest is still able to write as it is. Also the user `backup` is able to write to the nfs.