I just gave this a try with the standard64 14.3.0 image and it worked with the below smb.conf file:
[global] workgroup = MYGROUP server string = Samba %v (%h) security = user load printers = yes unix extensions = no [homes] comment = Home Directories browseable = no writable = yes [myshare] comment = MyShare path = /zones/2247fa19-211f-4f62-a781-4bbf50105f59/data/test public = yes writable = yes printable = no vfs objects = shadow_copy2 shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = %Y%m%d-%H%M%S wide links = yes I was taking snapshots with the command: zfs snapshot zones/2247fa19-211f-4f62-a781-4bbf50105f59/data/test@`date -u +%Y%m%d-%H%M%S` One troubleshooting tip is to run with a higher debug level. As an example with a debug level of 3 and without the unix extensions option it was showing access denied errors. It also shows the paths it is trying to access so you can verify the date mappings are working correctly. Here is a sample of what it looks like: check_reduced_name [@GMT-2015.02.12-13.22.04/test2/asdf] [/zones/2247fa19-211f-4f62-a781-4bbf50105f59/data/test] check_reduced_name: Bad access attempt: @GMT-2015.02.12-13.22.04/test2/asdf is a symlink outside the share path conn_rootdir =/zones/2247fa19-211f-4f62-a781-4bbf50105f59/data/test/.zfs/snapshot/@GMT-2015.02.12-13.22.04/ resolved_name=/zones/2247fa19-211f-4f62-a781-4bbf50105f59/data/test/.zfs/snapshot/20150212-132204/test2/asdf filename_convert: check_name failed for name @GMT-2015.02.12-13.22.04/test2/asdf with NT_STATUS_ACCESS_DENIED Ed Plese On Thu, Feb 12, 2015 at 1:26 AM, Greg Zartman via smartos-discuss < [email protected]> wrote: > On Wed, Feb 11, 2015 at 11:23 PM, Greg Zartman <[email protected]> > wrote: > >> >> I'd be really curious to know if you make any headway with this. >> > > This may be helpful: > https://forums.freebsd.org/threads/samba-3-6-and-volume-shadow-copy-previous-versions-with-zfs.32282/ > > > *smartos-discuss* | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/24144918-dcb0f0f5> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.com> > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
