Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

zpool Configuration Considerations for Zones on Shared Storage

When configuring ZFS storage pools, you might want to consider using redundant pool configurations such as mirror, raidz, or raidz2. Even if the backend storage hosting the shared storage resources provides resilience and data protection, in the form of hardware RAID for example, redundant configurations enable ZFS storage pools to use their inherent self-healing capabilities.

There are two ways to use redundant ZFS storage pool configurations with Oracle Solaris Zones hosted on shared storage resources.

  • You can use mirrored ZFS storage pool configurations, which by default will be created automatically if you specify multiple storage properties for a rootzpool or zpool resource in the zone configuration.

  • Alternatively, you can create more complex ZFS storage pool configurations such as raidz or raidz2 in advance, with the zpool create command. Note that you must export the new created ZFS storage pool again using zpool export. Next, all corresponding storage resource URIs should be added to the rootzpool or zpool resource in the zone configuration with the zonecfg command. The zones framework will now import this ZFS storage pool during zone installation or clone rather then attempt to create a new ZFS storage pool.