How to remove dataset from Solaris zone and mount it as lofs
Because of building mail system I need to export ZFS filesystem via NFS to other node, where postfix with deliver will save messages to mail boxes. As you can see in this installation transcript I configured whole zpool „studmail” as ZFS dataset for zone st1. Unfortunatelly, you can not simply share ZFS via NFS in non-global zone:
root@st1:~# zfs list NAME USED AVAIL REFER MOUNTPOINT studmail 301M 1.78T 28.0K none studmail/etc 4.52M 1.78T 4.19M /data/etc studmail/studmail 480K 1.78T 417K /data/studmail studmail/var 296M 1.78T 294M /data/var root@st1:~# zfs set sharenfs=rw=@192.168.X.X/32,anon=0 studmail/studmail cannot set property for 'studmail/studmail': 'sharenfs' cannot be set in a non-global zone