[SOLVED] SMB Share as Datastore

Younex

Well-Known Member
Jan 30, 2018
92
22
48
43
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:

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!