- Joined
- Mar 6, 2014
- Messages
- 9,553
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:
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:
Windows can access by navigating to
You can do the same with Linux mounts if needed.
Hope you all find this useful.
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.