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 j Op Ar --json-int, --json-pool-key-guid
41 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
42 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
48 .Op Fl j Op Ar --json-int
49 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
50 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
52 .Oo Sy all-vdevs Ns | Ns
57 .Ar property Ns = Ns Ar value
62 .Ar property Ns = Ns Ar value
72 .Op Fl j Op Ar --json-int, --json-pool-key-guid
73 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
74 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
77 Retrieves the given list of properties
83 for the specified storage pool(s).
84 These properties are displayed with the following fields:
85 .Bl -tag -compact -offset Ds -width "property"
93 Property source, either
94 .Sy default No or Sy local .
99 manual page for more information on the available pool properties.
100 .Bl -tag -compact -offset Ds -width "-o field"
101 .It Fl j , -json Op Ar --json-int, --json-pool-key-guid
102 Display the list of properties in JSON format.
105 to display the numbers in integer format instead of strings in JSON output.
107 .Sy --json-pool-key-guid
108 to set pool GUID as key for pool objects instead of pool name.
111 Do not display headers, and separate fields by a single tab instead of arbitrary
114 A comma-separated list of columns to display, defaults to
115 .Sy name , Ns Sy property , Ns Sy value , Ns Sy source .
117 Display numbers in parsable (exact) values.
122 .Op Fl j Op Ar --json-int
124 .Op Fl o Ar field Ns Oo , Ns Ar field Oc Ns …
125 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
127 .Oo Sy all-vdevs Ns | Ns
130 Retrieves the given list of properties
136 for the specified vdevs
142 in the specified pool.
143 These properties are displayed with the following fields:
144 .Bl -tag -compact -offset Ds -width "property"
152 Property source, either
153 .Sy default No or Sy local .
158 manual page for more information on the available pool properties.
159 .Bl -tag -compact -offset Ds -width "-o field"
160 .It Fl j , -json Op Ar --json-int
161 Display the list of properties in JSON format.
164 to display the numbers in integer format instead of strings in JSON output.
167 Do not display headers, and separate fields by a single tab instead of arbitrary
170 A comma-separated list of columns to display, defaults to
171 .Sy name , Ns Sy property , Ns Sy value , Ns Sy source .
173 Display numbers in parsable (exact) values.
178 .Ar property Ns = Ns Ar value
181 Sets the given property on the specified pool.
184 manual page for more information on what properties can be set and acceptable
189 .Ar property Ns = Ns Ar value
193 Sets the given property on the specified vdev in the specified pool.
196 manual page for more information on what properties can be set and acceptable
202 .Xr zpool-features 7 ,