Error Datastore PBS

Dexter23

Member
Dec 23, 2021
144
6
23
33
Hi

i have this error when i add datastore on PBS:

unable to open chunk store 'datastore1' at "/mnt/Proxmox_Backup/.chunks" - Permission denied (os error 13)

I look the permission on this folder "/mnt/Proxmox_Backup/.chunks" and seems to be ok:

root@pbs01:/mnt/Proxmox_Backup# ls -lah
total 4.0K
drwxrwxrwx 1 backup backup 36 Jan 17 12:12 .
drwxr-xr-x 4 root root 4.0K Jan 17 11:59 ..
drwxrwxrwx 1 backup backup 512K Jan 17 12:13 .chunks
-rw-r--r-- 1 backup backup 0 Jan 17 12:12 .lock

Where is the problem?
 
hi,

drwxrwxrwx 1 backup backup 512K Jan 17 12:13 .chunks not so sure if those permissions are correct.

Code:
$ stat .chunks
  File: .chunks
  Size: 65538           Blocks: 16497      IO Block: 16384  directory
Device: 26h/38d Inode: 2           Links: 65538
Access: (0750/drwxr-x---)  Uid: (   34/  backup)   Gid: (   34/  backup)

for me the permissions are 750. could you try chmod 750 -R /mnt/Proxmox_Backup/.chunks?
 
Hi

i give your commands but the error remain.

Now the permission on that folder are this:
drwxr-x--- 1 backup backup 512K Jan 17 12:13 .chunksi

This is the mount on fstab file for that folder:

10.0.0.200:/volume2/Proxmox_Backup /mnt/Proxmox_Backup nfs defaults 0 0
 
I don't understand where is the problem, is a nfs shared folder on Synoogy NFS 4 version
 
I don't understand where is the problem, is a nfs shared folder on Synoogy NFS 4 version
can you post the output from
Code:
su - backup -s /bin/bash
stat /mnt/Proxmox_Backup/.chunks

on the synology side there might be permission problems... you could also search the forum for that (user id mapping)
 

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!