Error Datastore PBS

Dexter23

Member
Dec 23, 2021
198
15
23
35
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
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)