Cant Add ZFS Mount as Datastore

thaliya

New Member
Mar 28, 2023
5
0
1
Hi,

im trying to add my zfs "pool/pve" as a datastore. PBS adds its successfully and creates .chunks and .lock - all with correct permissions. User and Group is "backup"
However after PBS added the datastore it says unable to open chunk store 'VMs' at "/pool/pve/vms" - Permission denied (os error 13)

If I add any other local directory thats not a zfs mountpoint it works without problems - what am I doing wrong?
 
Creatr a zfs subvolume

zfs create pool/pve/pbs and

chown backup:backup /pool/pve/pbs
 
Is your pbs running on the host or in a container? If it is a container i assume it is a unprivileged container so on the host you nee to set the uid to 100000+uid of backup

grep backup /etp/passwd

chown -R 1000xxx:1000xxx /pool/pbs
 

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!