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