For more information, see Using Rights Profiles to Install and Manage Zones in Creating and Using Oracle Solaris Zones.
In this procedure, the zone s10_zone with the configuration file /zones/S10_ZONE.cfg is used on the global zone, global.
global$ zonecfg -z S10_zone -f /zones/S10_ZONE.cfg
The flash archive image file /zones/s10-system.flar is used in this procedure.
global$ zoneadm -z S10_zone install -u -v -a /zones/s10-system.flar
global$ zoneadm -z S10_zone boot
The snapshot rpool/ROOT/zbe-0@snap is used in this procedure.
S10_zone# zfs snapshot rpool/ROOT/zbe-0@snap
In this case, the ZFS snapshot rpool/ROOT/zbe-0@snap is mounted to / and cloned to a new ZFS snapshot,rpool/ROOT/zbe-1:
S10_zone# zfs clone -o mountpoint=/ -o canmount=noauto rpool/ROOT/zbe-0@snap rpool/ROOT/zbe-1
S10_zone# zfs promote rpool/ROOT/zbe-1
S10_zone# zfs mount -o mountpoint=/mnt rpool/ROOT/zbe-1
S10_zone# # patchadd -R /mnt -d /var/tmp S10_zone# zfs unmount rpool/ROOT/zbe-1
S10_zone# zfs unmount rpool/ROOT/zbe-1
S10_zone# zfs set com.oracle.zones.solaris10:activebe=zbe-1 rpool/ROOT S10_zone# shutdown -y -g 0 -r
global# zoneadm -z S10_zone boot
See Also
For further information about the zfs command and ZFS administration, refer to Managing ZFS File Systems in Oracle Solaris 11.4.