Issue adding a local bind mount point as a datastore

Prefix4138

New Member
Aug 14, 2023
6
0
1
I have a second internal drive on my PVE host that I'd like to add as a datastore for my PBS.

I'm running the PBS in a container and added a mount point in its config:
mp0: /mnt/hdd/pbs,mp=/shared

I also made sure to set the proper read/write/execute permissions for the directory:
drwxrwxrwx 2 root root 4096 Oct 28 22:35 pbs

But when I attempt to add this directory as a datastore, I get this message:
EPERM: Operation not permitted
 
The datastore folder should be owned by the "backup" user, not by "root". So either chown that folder on the PVe host to UID:GID 34:34 for privileged LXCs or 100034:100034 for unprivileged LXCs.
 
Last edited: