note that you also have to mount the share with the correct options (uid,gid) options so that the 'backup' user on the pbs side can write/create/read the directories...
reply,
on truenas:
create user, group backup
add a dataset in storage>pools
set storage>pool>options>quota for your dataset
set storage>pool>permissions to backup user and backup group for your dataset
add a windows share (open /mnt>name_of_your_nas_with_the_dataset and select the dataset)
when you now go into the shell and visit this location you will notice your map has user and group backup also "df" will show your quota are set
on proxmox backup server
when you do a "df" here, once again you get your quota confirmed
add new user (uid 1000, CHECK this 1st by "cat /etc/group") ) and add this user to group backup (34)
create mount
Code:
//192.168.1.31/proxmoxbu /var/zfsnas cifs credentials=/root/.smbcredentials,gid=34,uid=1000,auto 0 0
Now stuff works with quota. Creating a store in the GUI on a HP Z400, 6-core X5670, to the 8 core 2,5 Ghz DL360 gave a "connection timeout". This is probably a bug because it was stil running. I Aborted the GUI process and created the store in the shell.
Code:
proxmox-backup-manager datastore create store1 /var/zfsnas/store1
this will take a bit of time depending on your quota, if you want to follow this process open a 2nd shell and start "atop" (you might have to install this 1st)
in the end store1 will show up!