Issue adding a local bind mount point as a datastore

Prefix4138

New Member
Aug 14, 2023
4
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:
  • Like
Reactions: Prefix4138

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!