Daniel Washburn

FreeBSD + Samba 4 + ZFS Recipe

ZFS

Samba 4 expects a filesystem which respects POSIX acls, but ZFS uses the nfsv4acl model. We can configure
ZFS to operate in passthrough mode, then tell Samba to use nfsv4 acls. In addition, we want to make the
volume’s .zfs/snapshot directory visible. This will allow us to present snapshots as Volume Shadow
Copies, which appear to Windows clients as Previous Versions of the volume.