You can use the zpool get command to display pool property information. For example:
# zpool get all mpool NAME PROPERTY VALUE SOURCE pool size 68G - pool capacity 0% - pool altroot - default pool health ONLINE - pool guid 601891032394735745 default pool version 22 default pool bootfs - default pool delegation on default pool autoreplace off default pool cachefile - default pool failmode wait default pool listsnapshots on default pool autoexpand off default pool free 68.0G - pool allocated 76.5K - |
Storage pool properties can be set with the zpool set command. For example:
# zpool set autoreplace=on mpool # zpool get autoreplace mpool NAME PROPERTY VALUE SOURCE mpool autoreplace on default |
Property Name |
Type |
Default Value |
Description |
---|---|---|---|
allocated |
String |
N/A |
Read-only value that identifies the amount of storage space within the pool that has been physically allocated. |
altroot |
String |
off |
Identifies an alternate root directory. If set, this directory is prepended to any mount points within the pool. This property can be used when you are examining an unknown pool, if the mount points cannot be trusted, or in an alternate boot environment, where the typical paths are not valid. |
autoreplace |
Boolean |
off |
Controls automatic device replacement. If set to off, device replacement must be initiated by using the zpool replace command. If set to on, any new device found in the same physical ___location as a device that previously belonged to the pool is automatically formatted and replaced. The property abbreviation is replace. |
bootfs |
Boolean |
N/A |
Identifies the default bootable dataset for the root pool. This property is typically set by the installation and upgrade programs. |
cachefile |
String |
N/A |
Controls where pool configuration information is cached. All pools in the cache are automatically imported when the system boots. However, installation and clustering environments might require this information to be cached in a different ___location so that pools are not automatically imported. You can set this property to cache pool configuration information in a different ___location. This information can be imported later by using the zpool import -c command. For most ZFS configurations, this property is not used. |
capacity |
Number |
N/A |
Read-only value that identifies the percentage of pool space used. The property abbreviation is cap. |
delegation |
Boolean |
on |
Controls whether a nonprivileged user can be granted access permissions that are defined for a dataset. For more information, see Chapter 9, Oracle Solaris ZFS Delegated Administration. |
failmode |
String |
wait |
Controls the system behavior if a catastrophic pool failure occurs. This condition is typically a result of a loss of connectivity to the underlying storage device or devices or a failure of all devices within the pool. The behavior of such an event is determined by one of the following values:
|
free |
String |
N/A |
Read-only value that identifies the number of blocks within the pool that are not allocated. |
guid |
String |
N/A |
Read-only property that identifies the unique identifier for the pool. |
health |
String |
N/A |
Read-only property that identifies the current health of the pool, as either ONLINE, DEGRADED, FAULTED, OFFLINE, REMOVED, or UNAVAIL. |
listsnapshots |
String |
on |
Controls whether snapshot information that is associated with this pool is displayed with the zfs list command. If this property is disabled, snapshot information can be displayed with the zfs list -t snapshot command. |
size |
Number |
N/A |
Read-only property that identifies the total size of the storage pool. |
version |
Number |
N/A |
Identifies the current on-disk version of the pool. The preferred method of updating pools is with the zpool upgrade command, although this property can be used when a specific version is needed for backwards compatibility. This property can be set to any number between 1 and the current version reported by the zpool upgrade -v command. |