The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/man/man8/zpool-get.8

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 .\"
    2 .\" CDDL HEADER START
    3 .\"
    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.
    7 .\"
    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.
   12 .\"
   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]
   18 .\"
   19 .\" CDDL HEADER END
   20 .\"
   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.
   28 .\"
   29 .Dd August 9, 2019
   30 .Dt ZPOOL-GET 8
   31 .Os
   32 .
   33 .Sh NAME
   34 .Nm zpool-get
   35 .Nd retrieve properties of ZFS storage pools
   36 .Sh SYNOPSIS
   37 .Nm zpool
   38 .Cm get
   39 .Op Fl Hp
   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 …
   42 .Oo Ar pool Oc Ns …
   43 .
   44 .Nm zpool
   45 .Cm get
   46 .Op Fl Hp
   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 …
   49 .Ar pool
   50 .Oo Sy all-vdevs Ns | Ns
   51 .Ar vdev Oc Ns …
   52 .
   53 .Nm zpool
   54 .Cm set
   55 .Ar property Ns = Ns Ar value
   56 .Ar pool
   57 .
   58 .Nm zpool
   59 .Cm set
   60 .Ar property Ns = Ns Ar value
   61 .Ar pool
   62 .Ar vdev
   63 .
   64 .Sh DESCRIPTION
   65 .Bl -tag -width Ds
   66 .It Xo
   67 .Nm zpool
   68 .Cm get
   69 .Op Fl Hp
   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 …
   72 .Oo Ar pool Oc Ns …
   73 .Xc
   74 Retrieves the given list of properties
   75 .Po
   76 or all properties if
   77 .Sy all
   78 is used
   79 .Pc
   80 for the specified storage pool(s).
   81 These properties are displayed with the following fields:
   82 .Bl -tag -compact -offset Ds -width "property"
   83 .It Sy name
   84 Name of storage pool.
   85 .It Sy property
   86 Property name.
   87 .It Sy value
   88 Property value.
   89 .It Sy source
   90 Property source, either
   91 .Sy default No or Sy local .
   92 .El
   93 .Pp
   94 See the
   95 .Xr zpoolprops 7
   96 manual page for more information on the available pool properties.
   97 .Bl -tag -compact -offset Ds -width "-o field"
   98 .It Fl H
   99 Scripted mode.
  100 Do not display headers, and separate fields by a single tab instead of arbitrary
  101 space.
  102 .It Fl o Ar field
  103 A comma-separated list of columns to display, defaults to
  104 .Sy name , Ns Sy property , Ns Sy value , Ns Sy source .
  105 .It Fl p
  106 Display numbers in parsable (exact) values.
  107 .El
  108 .It Xo
  109 .Nm zpool
  110 .Cm get
  111 .Op Fl Hp
  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 …
  114 .Ar pool
  115 .Oo Sy all-vdevs Ns | Ns
  116 .Ar vdev Oc Ns …
  117 .Xc
  118 Retrieves the given list of properties
  119 .Po
  120 or all properties if
  121 .Sy all
  122 is used
  123 .Pc
  124 for the specified vdevs
  125 .Po
  126 or all vdevs if
  127 .Sy all-vdevs
  128 is used
  129 .Pc
  130 in the specified pool.
  131 These properties are displayed with the following fields:
  132 .Bl -tag -compact -offset Ds -width "property"
  133 .It Sy name
  134 Name of vdev.
  135 .It Sy property
  136 Property name.
  137 .It Sy value
  138 Property value.
  139 .It Sy source
  140 Property source, either
  141 .Sy default No or Sy local .
  142 .El
  143 .Pp
  144 See the
  145 .Xr vdevprops 7
  146 manual page for more information on the available pool properties.
  147 .Bl -tag -compact -offset Ds -width "-o field"
  148 .It Fl H
  149 Scripted mode.
  150 Do not display headers, and separate fields by a single tab instead of arbitrary
  151 space.
  152 .It Fl o Ar field
  153 A comma-separated list of columns to display, defaults to
  154 .Sy name , Ns Sy property , Ns Sy value , Ns Sy source .
  155 .It Fl p
  156 Display numbers in parsable (exact) values.
  157 .El
  158 .It Xo
  159 .Nm zpool
  160 .Cm set
  161 .Ar property Ns = Ns Ar value
  162 .Ar pool
  163 .Xc
  164 Sets the given property on the specified pool.
  165 See the
  166 .Xr zpoolprops 7
  167 manual page for more information on what properties can be set and acceptable
  168 values.
  169 .It Xo
  170 .Nm zpool
  171 .Cm set
  172 .Ar property Ns = Ns Ar value
  173 .Ar pool
  174 .Ar vdev
  175 .Xc
  176 Sets the given property on the specified vdev in the specified pool.
  177 See the
  178 .Xr vdevprops 7
  179 manual page for more information on what properties can be set and acceptable
  180 values.
  181 .El
  182 .
  183 .Sh SEE ALSO
  184 .Xr vdevprops 7 ,
  185 .Xr zpool-features 7 ,
  186 .Xr zpoolprops 7 ,
  187 .Xr zpool-list 8

Cache object: 80d9e880d05835159819014689a09cea


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.