先上代码,后面再来补
root@JS-2001:~# zfs create -p -o compression=on zfs-2001/jelastic/2001
root@JS-2001:~# zfs set sharenfs="[email protected]/24" zfs-2001/jelastic/2001
root@JS-2001:~# zfs share zfs-2001/jelastic/2001
root@JS-2001:~# exportfs
/zfs-2001/jelastic/2001
172.16.3.1/29
强烈推荐:https://pthree.org/2012/12/17/zfs-administration-part-x-creating-filesystems/