4 .\" The contents of this file are subject to the terms of the
5 .\" Common Development and Distribution License (the "License").
6 .\" You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 .\" or https://opensource.org/licenses/CDDL-1.0.
10 .\" See the License for the specific language governing permissions
11 .\" and limitations under the License.
13 .\" When distributing Covered Code, include this CDDL HEADER in each
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 .\" If applicable, add the following below this CDDL HEADER, with the
16 .\" fields enclosed by brackets "[]" replaced with your own identifying
17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
22 .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
23 .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
24 .\" Copyright (c) 2017 Datto Inc.
25 .\" Copyright (c) 2018 George Melikov. All Rights Reserved.
26 .\" Copyright 2017 Nexenta Systems, Inc.
27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
35 .Nd retrieve properties of ZFS storage pools
40 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
41 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
47 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
48 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
50 .Oo Sy all-vdevs Ns | Ns
55 .Ar property Ns = Ns Ar value
60 .Ar property Ns = Ns Ar value
70 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
71 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
74 Retrieves the given list of properties
80 for the specified storage pool(s).
81 These properties are displayed with the following fields:
82 .Bl -tag -compact -offset Ds -width "property"
90 Property source, either
91 .Sy default No or Sy local .
96 manual page for more information on the available pool properties.
97 .Bl -tag -compact -offset Ds -width "-o field"
100 Do not display headers, and separate fields by a single tab instead of arbitrary
103 A comma-separated list of columns to display, defaults to
104 .Sy name , Ns Sy property , Ns Sy value , Ns Sy source .
106 Display numbers in parsable (exact) values.
112 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
113 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
115 .Oo Sy all-vdevs Ns | Ns
118 Retrieves the given list of properties
124 for the specified vdevs
130 in the specified pool.
131 These properties are displayed with the following fields:
132 .Bl -tag -compact -offset Ds -width "property"
140 Property source, either
141 .Sy default No or Sy local .
146 manual page for more information on the available pool properties.
147 .Bl -tag -compact -offset Ds -width "-o field"
150 Do not display headers, and separate fields by a single tab instead of arbitrary
153 A comma-separated list of columns to display, defaults to
154 .Sy name , Ns Sy property , Ns Sy value , Ns Sy source .
156 Display numbers in parsable (exact) values.
161 .Ar property Ns = Ns Ar value
164 Sets the given property on the specified pool.
167 manual page for more information on what properties can be set and acceptable
172 .Ar property Ns = Ns Ar value
176 Sets the given property on the specified vdev in the specified pool.
179 manual page for more information on what properties can be set and acceptable
185 .Xr zpool-features 7 ,