[SOLVED] SMB Share as Datastore

Younex

Well-Known Member
Jan 30, 2018
93
22
48
44
Hello Guys.

I just mounted SMB Share (Hetzer Storage) to my PMB (whis is a VM).

Fstab Content:
"//u643434.your-storagebox.de/backup /mnt/backup-server cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=0,gid=0,file_mode=0660,dir_mode=0770,rsize=65536,wsize=130048 0 0"

It is mounted properly and i can access it on shell without any issues (creating and deleting files).

After i created one Datastore in PMB which create ".chunks" directory properly too.

When i access new datastore in GUI i get error:
"Bad Request (400): unable to open chunk store at "mnt/backup-server/.chunks Permission denied (osr error 13).

Not sure what to do about it. Maybe i have to modify uid and gid i mount smb share in first instance?

Thank you!

Kind Regards,
Kevin
 
uid=0,gid=0,file_mode=0660,dir_mode=0770,
The "backup" user (use id -u backup to find out the UID...I think it was something like 34) also needs rights to access that SMB share. Not just root. Try if it works with 777 rights.
 
Last edited: