Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019

How To Move an Existing Zone Into a Shared Storage Configuration

The following steps are required to convert an existing, installed zone into a shared storage zone configuration with a rootzpool resource.

  1. Become a zone administrator.

    You must also be assigned the Unified Archive Administration rights profile. The root role has all of these rights.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Shut down the zone with zoneadm shutdown command.
  3. Create an archive of the installed zone.

    Refer to the solaris(5) man page for additional information.

  4. Uninstall the zone with zoneadm uninstall.

    This step removes the current zone installation from the system and move the zone back into the configured zone state.

  5. Add a rootzpool resource and corresponding shared storage resources to the zone configuration with the zonecfg command.
  6. Install the zone again from the archive by using zoneadm install -a.

    Refer to the solaris(5) man page for more details about this option.

    During the archive-based installation, the zones framework will configure the shared storage resources and create or import the desired ZFS storage pools.

  7. The zone can now be booted again with zoneadm boot.