Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

zpool Resource

The zpool resource describes a ZFS storage pool composed of shared storage resources that is delegated to the Oracle Solaris Zone. The zpool resource will specify at least one storage property. Multiple storage properties can be specified to describe redundant ZFS storage pool configurations. There can be multiple zpool resources defined for a zone configuration.

The ZFS storage pool name for a zpool resource is assigned by combining the zone name and the specified name property, as zonename_name. For the name property, the zonecfg will verify that the string is eligible for a ZFS storage name and a ZFS dataset name. The string rpool is not permitted and cannot be used for this property.

The zpool resource is managed using the following zonecfg subcommands from the global resource scope:

zonecfg:zonename> add zpool
zonecfg:zonename:zpool> add storage URI string
zonecfg:zonename:zpool> set name=name string
zonecfg:zonename:zpool> end

zonecfg:zonename> remove zpool
zonecfg:zonename> remove zpool name=name string
zonecfg:zonename> remove zpool storage=URI string

zonecfg:zonename> select zpool storage=URI string

zonecfg:zonename> info zpool
zonecfg:zonename> info zpool name=name string
zonecfg:zonename> info zpool storage=URI string