This command establishes datasets in the root pool for the new boot
environment and copies the current boot environment (including the zones)
to those datasets.

Activate the new ZFS boot environment.

# luactivate s10BE2

Now, the system is running a ZFS root file system, but the zone roots
on UFS are still in the UFS root file system. The next steps are required
to fully migrate the UFS zones to a supported ZFS configuration.

Reboot the system.

# init 6

Migrate the zones to a ZFS BE.

Boot the zones.

Create another ZFS BE within the pool.

# lucreate s10BE3

Activate the new boot environment.

# luactivate s10BE3

Reboot the system.

# init 6

This step verifies that the ZFS BE and the zones are booted.

Resolve any potential mount-point problems.

Due to
a bug in Oracle Solaris Live Upgrade, the inactive boot environment might
fail to boot because a ZFS dataset or a zone's ZFS dataset in the boot environment
has an invalid mount point.

When the option to boot a specific
boot environment is presented, either in the GRUB menu or at the OpenBoot
PROM prompt, select the boot environment whose mount points were just corrected.

How to Configure a ZFS Root File System With Zone
Roots on ZFS (Solaris 10 10/08)

This procedure explains how to set up a ZFS root file system and ZFS
zone root configuration that can be upgraded or patched. In this configuration,
the ZFS zone roots are created as ZFS datasets.

In the steps that follow the example pool name is rpool and
the example name of the active boot environment is s10BE.
The name for the zones dataset can be any legal dataset name. In the following
example, the zones dataset name is zones.

Install the system with a ZFS root, either by using the Solaris
interactive text installer or the Solaris JumpStart installation method.

# zonecfg -z zoneA
zoneA: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zoneA> create
zonecfg:zoneA> set zonepath=/zones/zonerootA

You can enable the zones to boot automatically when the system is booted
by using the following syntax:

zonecfg:zoneA> set autoboot=true

Install the zone.

# zoneadm -z zoneA install

Boot the zone.

# zoneadm -z zoneA boot

How to Upgrade or Patch a ZFS Root File System With
Zone Roots on ZFS (Solaris 10 10/08)

Use this procedure when you need to upgrade or patch a ZFS root file
system with zone roots on ZFS. These updates can either be a system upgrade
or the application of patches.

In the steps that follow, newBE is the example name
of the boot environment that is upgraded or patched.

Create the boot environment to upgrade or patch.

# lucreate -n newBE

The existing boot environment, including all the zones, is cloned. A
dataset is created for each dataset in the original boot environment. The
new datasets are created in the same pool as the current root pool.

Select one of the following to upgrade the system or apply patches
to the new boot environment:

Upgrade the system.

# luupgrade -u -n newBE -s /net/install/export/s10u7/latest

where the -s option specifies the location of the Solaris
installation medium.

Apply patches to the new boot environment.

# luupgrade -t -n newBE -t -s /patchdir 139147-02 157347-14

Activate the new boot environment.

# luactivate newBE

Boot from the newly activated boot environment.

# init 6

Resolve any potential mount-point problems.

Due to
a bug in Oracle Solaris Live Upgrade feature, the inactive boot environment
might fail to boot because a ZFS dataset or a zone's ZFS dataset in the boot
environment has an invalid mount point.