Add Datastore: Checked everything but "unable to open chunk store"

BlueCharge

Member
Sep 18, 2023
16
1
8
Hi,
I run into a permission problem if trying to add datastore: unable to open chunk store at "/mnt/HDD24TB/pve-backups/.chunks" - Permission denied (os error 13).

PVE: 8.4.14
PBS: 3.4.6

What I did:
  1. - installed PBS to PVE in parallel
  2. - created "/mnt/HDD24TB/pve-backups/"
  3. - erased files and subfolders
  4. - checked permissions with
  5. root@pve:~# chown -R backup:backup /mnt/HDD24TB/pve-backups
  6. root@pve:~# chmod -R 700 /mnt/HDD24TB/pve-backups
  7. root@pve:~# systemctl restart proxmox-backup
  8. - got the above error
  9. - I secured, that the storage is mounted before PBS starts (Systemd-Mount-Unit)
  10. - got the above error

Additional information (history):
- at first I tried out PVE Backup, therefore created "/mnt/HDD24TB/pve-backups/" and added it as directory storage.
- ran into problems with backing up an unprivileged LXC
- removed PVE Backup task and storage, then => 1.

So can anybody tell me how to solve this problem?

Thank you
 
Last edited:
Are the permissions above /mnt/HDD24TB/pve-backups enough for backup user to read and execute?

What are the outputs of
ls -ld /mnt
ls -ld /mnt/HDD24TB
?

You wrote "the storage is mounted before PBS starts (Systemd-Mount-Unit)".

What storage? What kind? A local disk? A NFS? A SMB? Other?
What configuration and what command were used to mount it?
 
Thanks for your reply.

Storage is a local disk:
Code:
/dev/sda1 on /mnt/HDD24TB type ext4 (rw,relatime)


Now it gets interesting, here is the outputs:

Code:
root@pve:/usr/share# ls -ld /mnt
drwxr-xr-x 7 root root 4096 Sep 23 17:58 /mnt
root@pve:/usr/share# ls -ld /mnt/HDD24TB
drwxrwx--- 8 1000 1000 4096 Sep 23 22:12 /mnt/HDD24TB

How to deal with these permissions?
 
Please share namei -l /mnt/HDD24TB/pve-backups/.chunks in a code block. Best to leave chmod alone and let PBS recreate the datastore. PBS is very strict about it.
 
Last edited: