NB zfs smb share cmd

Every time i’ll need to something more complicated then simple share – i’ll need this 😉

zfs set share=name=video,path=/storarray/nas/video,prot=smb storarray/nas/video
zfs set share.desc="Video Library" storarray/nas/video
zfs set share.smb=on storarray/nas/video
zfs list -t share -r storarray/nas/video # check
zfs get share.all storarray/nas/video%video # check

Leave a Reply