Mara
Dabbler
- Joined
- Jan 14, 2017
- Messages
- 48
Starting in 11.1-U5 we added some knobs to expose ZFS snapshots over SMB. You can enable by setting the following auxiliary parameters to your SMB shares:
Code:zfsacl:expose_snapdir=True veto files = /.windows/.mac/
Then restart samba. The ZFS dataset still has the "snapdir=hidden" property set so you'll have to type in the full UNC path to the snapshot directory. Macs can mount with the following string:smb://<server>/<share>/.zfs/snapshot
Windows can access by navigating to\\<server>\<share>\.zfs\snapshot
You can do the same with Linux mounts if needed.
Hope you all find this useful.
Thank you for this ! where I have to edit this parameter in freenas 11.2?
zfsacl:expose_snapdir=True
veto files = /.windows/.mac/
thanks!