January 14, 20251 yr cat /etc/samba/smb-shares.conf returns [downloads] path = /mnt/user/downloads comment = browseable = yes writeable = no read list = write list = admin valid users = admin case sensitive = auto preserve case = yes short preserve case = yes vfs objects = catia fruit streams_xattr fruit:encoding = native I have seen this post But didn`t helped, after array starts - nothing applied. I manually changed /etc/samba/smb-shares.conf reloaded samba (/etc/rc.d/rc.samba restart) And I see nothing here Edited January 14, 20251 yr by d3m3zs
January 14, 20251 yr Author Works only if I add manually vfs objects = shadow_copy2 shadow: snapdirseverywhere = yes shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = %Y-%m-%d-%H%M%S shadow: localtime = no to share in file /etc/samba/smb-shares.conf
January 15, 20251 yr Author No reply? How to automate this? II would like to add vfs objects = shadow_copy2 and all other parameters to each zfs share. If I am right should be something like path = /mnt/user/downloads comment = browseable = yes writeable = no read list = write list = admin valid users = admin case sensitive = auto preserve case = yes short preserve case = yes vfs objects = shadow_copy2 catia fruit streams_xattr fruit:encoding = native shadow: snapdirseverywhere = yes shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = %Y-%m-%d-%H%M%S shadow: localtime = no Edited January 15, 20251 yr by d3m3zs
January 16, 20251 yr Community Expert I believe there are already some posts about this in the forum, don't have a link at hand, but they should be found with a search.
January 16, 20251 yr Author 1 hour ago, JorgeB said: I believe there are already some posts about this in the forum, don't have a link at hand, but they should be found with a search. I expected to see something in the guide or documentation, taking into account adding support of ZFS in Unraid.
January 16, 20251 yr Community Expert See here for example, first hit after a search: https://forums.unraid.net/topic/121327-windows-11-and-zfs-snapshot/#findComment-1142468
January 16, 20251 yr Author 8 hours ago, JorgeB said: See here for example, first hit after a search: https://forums.unraid.net/topic/121327-windows-11-and-zfs-snapshot/#findComment-1142468 I mentioned this thread in my first post here and then mentioned what did I achieve. Do we know how smb-extra.conf works? It will rewrite original smb-shares.conf or just add few parameters?
January 19, 20251 yr Author On 1/17/2025 at 8:51 AM, JorgeB said: You just add those settings to Settings - SMB extras And nothing happens: When Array starts I have the same default config: Help only manually change smb-shares.config and restart service: So, does anybody know why "Samba extra configuration:" ignored?
January 20, 20251 yr Community Expert I've never used this, you can try asking in that thread, also note the part where it only shows different files if there are actually different versions of the files.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.