zfs create pool1/zonefs
chmod 700 /pool1/zonefs
zonecfg -z base
base: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:base> create
zonecfg:base> set zonepath=/pool1/zonefs
zonecfg:base> exit
zoneadm -z base install
cannot create ZFS dataset pool1/zonefs: dataset already exists
Preparing to install zone <base>.
Creating list of files to copy from the global zone.
zfs snapshot pool1/zonefs@basesnap
zfs clone pool1/zonefs@basesnap pool1/zone1
zonecfg -z zone1
zone1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zone1> create
zonecfg:zone1> set zonepath=/pool1/zone1
zonecfg:zone1> exit
edit the zone1 line in /etc/zones/index as follows
change this line -> zone1:configured:/pool1/zone1:
into this -> zone1:installed:/pool1/zone1: