Quick word on creating ZFS shares
Saturday, July 31st, 2010Ok, first make the share (I assume you already have a pool)
zfs create -o casesensitivity=mixed -o nbmand=on (poolname)/(newshare)
zfs set sharesmb=on (poolname)/(newshare)
(to define the name for the share zfs set sharesmb=name=(sharename) (poolname)/(newshare)
zfs set compression=on (poolname)/(newshare)
If you screw up just zfs destroy (poolname)/(newshare)
Now just set the acl’s and you are ready to go… :)
zfs set dedup=on (poolname)/(newshare)
Check the share with
sharemgr show -vp