xref: /freebsd/sys/contrib/openzfs/man/man7/zpoolprops.7 (revision e92ffd9b626833ebdbf2742c8ffddc6cd94b963e)
13ff01b23SMartin Matuska.\"
23ff01b23SMartin Matuska.\" CDDL HEADER START
33ff01b23SMartin Matuska.\"
43ff01b23SMartin Matuska.\" The contents of this file are subject to the terms of the
53ff01b23SMartin Matuska.\" Common Development and Distribution License (the "License").
63ff01b23SMartin Matuska.\" You may not use this file except in compliance with the License.
73ff01b23SMartin Matuska.\"
83ff01b23SMartin Matuska.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93ff01b23SMartin Matuska.\" or http://www.opensolaris.org/os/licensing.
103ff01b23SMartin Matuska.\" See the License for the specific language governing permissions
113ff01b23SMartin Matuska.\" and limitations under the License.
123ff01b23SMartin Matuska.\"
133ff01b23SMartin Matuska.\" When distributing Covered Code, include this CDDL HEADER in each
143ff01b23SMartin Matuska.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153ff01b23SMartin Matuska.\" If applicable, add the following below this CDDL HEADER, with the
163ff01b23SMartin Matuska.\" fields enclosed by brackets "[]" replaced with your own identifying
173ff01b23SMartin Matuska.\" information: Portions Copyright [yyyy] [name of copyright owner]
183ff01b23SMartin Matuska.\"
193ff01b23SMartin Matuska.\" CDDL HEADER END
203ff01b23SMartin Matuska.\"
213ff01b23SMartin Matuska.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
223ff01b23SMartin Matuska.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
233ff01b23SMartin Matuska.\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
243ff01b23SMartin Matuska.\" Copyright (c) 2017 Datto Inc.
253ff01b23SMartin Matuska.\" Copyright (c) 2018 George Melikov. All Rights Reserved.
263ff01b23SMartin Matuska.\" Copyright 2017 Nexenta Systems, Inc.
273ff01b23SMartin Matuska.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
283ff01b23SMartin Matuska.\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
293ff01b23SMartin Matuska.\"
303ff01b23SMartin Matuska.Dd May 27, 2021
313ff01b23SMartin Matuska.Dt ZPOOLPROPS 7
323ff01b23SMartin Matuska.Os
333ff01b23SMartin Matuska.
343ff01b23SMartin Matuska.Sh NAME
353ff01b23SMartin Matuska.Nm zpoolprops
363ff01b23SMartin Matuska.Nd properties of ZFS storage pools
373ff01b23SMartin Matuska.
383ff01b23SMartin Matuska.Sh DESCRIPTION
393ff01b23SMartin MatuskaEach pool has several properties associated with it.
403ff01b23SMartin MatuskaSome properties are read-only statistics while others are configurable and
413ff01b23SMartin Matuskachange the behavior of the pool.
423ff01b23SMartin Matuska.Pp
433ff01b23SMartin MatuskaThe following are read-only properties:
443ff01b23SMartin Matuska.Bl -tag -width "unsupported@guid"
453ff01b23SMartin Matuska.It Cm allocated
463ff01b23SMartin MatuskaAmount of storage used within the pool.
473ff01b23SMartin MatuskaSee
483ff01b23SMartin Matuska.Sy fragmentation
493ff01b23SMartin Matuskaand
503ff01b23SMartin Matuska.Sy free
513ff01b23SMartin Matuskafor more information.
523ff01b23SMartin Matuska.It Sy capacity
533ff01b23SMartin MatuskaPercentage of pool space used.
543ff01b23SMartin MatuskaThis property can also be referred to by its shortened column name,
553ff01b23SMartin Matuska.Sy cap .
563ff01b23SMartin Matuska.It Sy expandsize
573ff01b23SMartin MatuskaAmount of uninitialized space within the pool or device that can be used to
583ff01b23SMartin Matuskaincrease the total capacity of the pool.
593ff01b23SMartin MatuskaOn whole-disk vdevs, this is the space beyond the end of the GPT –
603ff01b23SMartin Matuskatypically occurring when a LUN is dynamically expanded
613ff01b23SMartin Matuskaor a disk replaced with a larger one.
623ff01b23SMartin MatuskaOn partition vdevs, this is the space appended to the partition after it was
633ff01b23SMartin Matuskaadded to the pool – most likely by resizing it in-place.
643ff01b23SMartin MatuskaThe space can be claimed for the pool by bringing it online with
653ff01b23SMartin Matuska.Sy autoexpand=on
663ff01b23SMartin Matuskaor using
673ff01b23SMartin Matuska.Nm zpool Cm online Fl e .
683ff01b23SMartin Matuska.It Sy fragmentation
693ff01b23SMartin MatuskaThe amount of fragmentation in the pool.
703ff01b23SMartin MatuskaAs the amount of space
713ff01b23SMartin Matuska.Sy allocated
723ff01b23SMartin Matuskaincreases, it becomes more difficult to locate
733ff01b23SMartin Matuska.Sy free
743ff01b23SMartin Matuskaspace.
753ff01b23SMartin MatuskaThis may result in lower write performance compared to pools with more
763ff01b23SMartin Matuskaunfragmented free space.
773ff01b23SMartin Matuska.It Sy free
783ff01b23SMartin MatuskaThe amount of free space available in the pool.
793ff01b23SMartin MatuskaBy contrast, the
803ff01b23SMartin Matuska.Xr zfs 8
813ff01b23SMartin Matuska.Sy available
823ff01b23SMartin Matuskaproperty describes how much new data can be written to ZFS filesystems/volumes.
833ff01b23SMartin MatuskaThe zpool
843ff01b23SMartin Matuska.Sy free
853ff01b23SMartin Matuskaproperty is not generally useful for this purpose, and can be substantially more than the zfs
863ff01b23SMartin Matuska.Sy available
873ff01b23SMartin Matuskaspace.
883ff01b23SMartin MatuskaThis discrepancy is due to several factors, including raidz parity;
893ff01b23SMartin Matuskazfs reservation, quota, refreservation, and refquota properties; and space set aside by
903ff01b23SMartin Matuska.Sy spa_slop_shift
913ff01b23SMartin Matuska(see
923ff01b23SMartin Matuska.Xr zfs 4
933ff01b23SMartin Matuskafor more information).
943ff01b23SMartin Matuska.It Sy freeing
953ff01b23SMartin MatuskaAfter a file system or snapshot is destroyed, the space it was using is
963ff01b23SMartin Matuskareturned to the pool asynchronously.
973ff01b23SMartin Matuska.Sy freeing
983ff01b23SMartin Matuskais the amount of space remaining to be reclaimed.
993ff01b23SMartin MatuskaOver time
1003ff01b23SMartin Matuska.Sy freeing
1013ff01b23SMartin Matuskawill decrease while
1023ff01b23SMartin Matuska.Sy free
1033ff01b23SMartin Matuskaincreases.
1043ff01b23SMartin Matuska.It Sy health
1053ff01b23SMartin MatuskaThe current health of the pool.
1063ff01b23SMartin MatuskaHealth can be one of
1073ff01b23SMartin Matuska.Sy ONLINE , DEGRADED , FAULTED , OFFLINE, REMOVED , UNAVAIL .
1083ff01b23SMartin Matuska.It Sy guid
1093ff01b23SMartin MatuskaA unique identifier for the pool.
1103ff01b23SMartin Matuska.It Sy load_guid
1113ff01b23SMartin MatuskaA unique identifier for the pool.
1123ff01b23SMartin MatuskaUnlike the
1133ff01b23SMartin Matuska.Sy guid
1143ff01b23SMartin Matuskaproperty, this identifier is generated every time we load the pool (i.e. does
1153ff01b23SMartin Matuskanot persist across imports/exports) and never changes while the pool is loaded
1163ff01b23SMartin Matuska(even if a
1173ff01b23SMartin Matuska.Sy reguid
1183ff01b23SMartin Matuskaoperation takes place).
1193ff01b23SMartin Matuska.It Sy size
1203ff01b23SMartin MatuskaTotal size of the storage pool.
1213ff01b23SMartin Matuska.It Sy unsupported@ Ns Em guid
1223ff01b23SMartin MatuskaInformation about unsupported features that are enabled on the pool.
1233ff01b23SMartin MatuskaSee
1243ff01b23SMartin Matuska.Xr zpool-features 7
1253ff01b23SMartin Matuskafor details.
1263ff01b23SMartin Matuska.El
1273ff01b23SMartin Matuska.Pp
1283ff01b23SMartin MatuskaThe space usage properties report actual physical space available to the
1293ff01b23SMartin Matuskastorage pool.
1303ff01b23SMartin MatuskaThe physical space can be different from the total amount of space that any
1313ff01b23SMartin Matuskacontained datasets can actually use.
1323ff01b23SMartin MatuskaThe amount of space used in a raidz configuration depends on the characteristics
1333ff01b23SMartin Matuskaof the data being written.
1343ff01b23SMartin MatuskaIn addition, ZFS reserves some space for internal accounting that the
1353ff01b23SMartin Matuska.Xr zfs 8
1363ff01b23SMartin Matuskacommand takes into account, but the
1373ff01b23SMartin Matuska.Nm
1383ff01b23SMartin Matuskacommand does not.
1393ff01b23SMartin MatuskaFor non-full pools of a reasonable size, these effects should be invisible.
1403ff01b23SMartin MatuskaFor small pools, or pools that are close to being completely full, these
1413ff01b23SMartin Matuskadiscrepancies may become more noticeable.
1423ff01b23SMartin Matuska.Pp
1433ff01b23SMartin MatuskaThe following property can be set at creation time and import time:
1443ff01b23SMartin Matuska.Bl -tag -width Ds
1453ff01b23SMartin Matuska.It Sy altroot
1463ff01b23SMartin MatuskaAlternate root directory.
1473ff01b23SMartin MatuskaIf set, this directory is prepended to any mount points within the pool.
1483ff01b23SMartin MatuskaThis can be used when examining an unknown pool where the mount points cannot be
1493ff01b23SMartin Matuskatrusted, or in an alternate boot environment, where the typical paths are not
1503ff01b23SMartin Matuskavalid.
1513ff01b23SMartin Matuska.Sy altroot
1523ff01b23SMartin Matuskais not a persistent property.
1533ff01b23SMartin MatuskaIt is valid only while the system is up.
1543ff01b23SMartin MatuskaSetting
1553ff01b23SMartin Matuska.Sy altroot
1563ff01b23SMartin Matuskadefaults to using
1573ff01b23SMartin Matuska.Sy cachefile Ns = Ns Sy none ,
1583ff01b23SMartin Matuskathough this may be overridden using an explicit setting.
1593ff01b23SMartin Matuska.El
1603ff01b23SMartin Matuska.Pp
1613ff01b23SMartin MatuskaThe following property can be set only at import time:
1623ff01b23SMartin Matuska.Bl -tag -width Ds
1633ff01b23SMartin Matuska.It Sy readonly Ns = Ns Sy on Ns | Ns Sy off
1643ff01b23SMartin MatuskaIf set to
1653ff01b23SMartin Matuska.Sy on ,
1663ff01b23SMartin Matuskathe pool will be imported in read-only mode.
1673ff01b23SMartin MatuskaThis property can also be referred to by its shortened column name,
1683ff01b23SMartin Matuska.Sy rdonly .
1693ff01b23SMartin Matuska.El
1703ff01b23SMartin Matuska.Pp
1713ff01b23SMartin MatuskaThe following properties can be set at creation time and import time, and later
1723ff01b23SMartin Matuskachanged with the
1733ff01b23SMartin Matuska.Nm zpool Cm set
1743ff01b23SMartin Matuskacommand:
1753ff01b23SMartin Matuska.Bl -tag -width Ds
1763ff01b23SMartin Matuska.It Sy ashift Ns = Ns Sy ashift
1773ff01b23SMartin MatuskaPool sector size exponent, to the power of
1783ff01b23SMartin Matuska.Sy 2
1793ff01b23SMartin Matuska(internally referred to as
1803ff01b23SMartin Matuska.Sy ashift ) .
1813ff01b23SMartin MatuskaValues from 9 to 16, inclusive, are valid; also, the
1823ff01b23SMartin Matuskavalue 0 (the default) means to auto-detect using the kernel's block
1833ff01b23SMartin Matuskalayer and a ZFS internal exception list.
1843ff01b23SMartin MatuskaI/O operations will be aligned to the specified size boundaries.
1853ff01b23SMartin MatuskaAdditionally, the minimum (disk)
1863ff01b23SMartin Matuskawrite size will be set to the specified size, so this represents a
1873ff01b23SMartin Matuskaspace vs. performance trade-off.
1883ff01b23SMartin MatuskaFor optimal performance, the pool sector size should be greater than
1893ff01b23SMartin Matuskaor equal to the sector size of the underlying disks.
1903ff01b23SMartin MatuskaThe typical case for setting this property is when
1913ff01b23SMartin Matuskaperformance is important and the underlying disks use 4KiB sectors but
1923ff01b23SMartin Matuskareport 512B sectors to the OS (for compatibility reasons); in that
1933ff01b23SMartin Matuskacase, set
1943ff01b23SMartin Matuska.Sy ashift Ns = Ns Sy 12
1953ff01b23SMartin Matuska(which is
1963ff01b23SMartin Matuska.Sy 1<<12 No = Sy 4096 ) .
1973ff01b23SMartin MatuskaWhen set, this property is
1983ff01b23SMartin Matuskaused as the default hint value in subsequent vdev operations (add,
1993ff01b23SMartin Matuskaattach and replace).
2003ff01b23SMartin MatuskaChanging this value will not modify any existing
2013ff01b23SMartin Matuskavdev, not even on disk replacement; however it can be used, for
2023ff01b23SMartin Matuskainstance, to replace a dying 512B sectors disk with a newer 4KiB
2033ff01b23SMartin Matuskasectors device: this will probably result in bad performance but at the
2043ff01b23SMartin Matuskasame time could prevent loss of data.
2053ff01b23SMartin Matuska.It Sy autoexpand Ns = Ns Sy on Ns | Ns Sy off
2063ff01b23SMartin MatuskaControls automatic pool expansion when the underlying LUN is grown.
2073ff01b23SMartin MatuskaIf set to
2083ff01b23SMartin Matuska.Sy on ,
2093ff01b23SMartin Matuskathe pool will be resized according to the size of the expanded device.
2103ff01b23SMartin MatuskaIf the device is part of a mirror or raidz then all devices within that
2113ff01b23SMartin Matuskamirror/raidz group must be expanded before the new space is made available to
2123ff01b23SMartin Matuskathe pool.
2133ff01b23SMartin MatuskaThe default behavior is
2143ff01b23SMartin Matuska.Sy off .
2153ff01b23SMartin MatuskaThis property can also be referred to by its shortened column name,
2163ff01b23SMartin Matuska.Sy expand .
2173ff01b23SMartin Matuska.It Sy autoreplace Ns = Ns Sy on Ns | Ns Sy off
2183ff01b23SMartin MatuskaControls automatic device replacement.
2193ff01b23SMartin MatuskaIf set to
2203ff01b23SMartin Matuska.Sy off ,
2213ff01b23SMartin Matuskadevice replacement must be initiated by the administrator by using the
2223ff01b23SMartin Matuska.Nm zpool Cm replace
2233ff01b23SMartin Matuskacommand.
2243ff01b23SMartin MatuskaIf set to
2253ff01b23SMartin Matuska.Sy on ,
2263ff01b23SMartin Matuskaany new device, found in the same physical location as a device that previously
2273ff01b23SMartin Matuskabelonged to the pool, is automatically formatted and replaced.
2283ff01b23SMartin MatuskaThe default behavior is
2293ff01b23SMartin Matuska.Sy off .
2303ff01b23SMartin MatuskaThis property can also be referred to by its shortened column name,
2313ff01b23SMartin Matuska.Sy replace .
2323ff01b23SMartin MatuskaAutoreplace can also be used with virtual disks (like device
2333ff01b23SMartin Matuskamapper) provided that you use the /dev/disk/by-vdev paths setup by
2343ff01b23SMartin Matuskavdev_id.conf.
2353ff01b23SMartin MatuskaSee the
2363ff01b23SMartin Matuska.Xr vdev_id 8
2373ff01b23SMartin Matuskamanual page for more details.
2383ff01b23SMartin MatuskaAutoreplace and autoonline require the ZFS Event Daemon be configured and
2393ff01b23SMartin Matuskarunning.
2403ff01b23SMartin MatuskaSee the
2413ff01b23SMartin Matuska.Xr zed 8
2423ff01b23SMartin Matuskamanual page for more details.
2433ff01b23SMartin Matuska.It Sy autotrim Ns = Ns Sy on Ns | Ns Sy off
2443ff01b23SMartin MatuskaWhen set to
2453ff01b23SMartin Matuska.Sy on
2463ff01b23SMartin Matuskaspace which has been recently freed, and is no longer allocated by the pool,
2473ff01b23SMartin Matuskawill be periodically trimmed.
2483ff01b23SMartin MatuskaThis allows block device vdevs which support
2493ff01b23SMartin MatuskaBLKDISCARD, such as SSDs, or file vdevs on which the underlying file system
2503ff01b23SMartin Matuskasupports hole-punching, to reclaim unused blocks.
2513ff01b23SMartin MatuskaThe default value for this property is
2523ff01b23SMartin Matuska.Sy off .
2533ff01b23SMartin Matuska.Pp
2543ff01b23SMartin MatuskaAutomatic TRIM does not immediately reclaim blocks after a free.
2553ff01b23SMartin MatuskaInstead, it will optimistically delay allowing smaller ranges to be aggregated
2563ff01b23SMartin Matuskainto a few larger ones.
2573ff01b23SMartin MatuskaThese can then be issued more efficiently to the storage.
2583ff01b23SMartin MatuskaTRIM on L2ARC devices is enabled by setting
2593ff01b23SMartin Matuska.Sy l2arc_trim_ahead > 0 .
2603ff01b23SMartin Matuska.Pp
2613ff01b23SMartin MatuskaBe aware that automatic trimming of recently freed data blocks can put
2623ff01b23SMartin Matuskasignificant stress on the underlying storage devices.
2633ff01b23SMartin MatuskaThis will vary depending of how well the specific device handles these commands.
2643ff01b23SMartin MatuskaFor lower-end devices it is often possible to achieve most of the benefits
2653ff01b23SMartin Matuskaof automatic trimming by running an on-demand (manual) TRIM periodically
2663ff01b23SMartin Matuskausing the
2673ff01b23SMartin Matuska.Nm zpool Cm trim
2683ff01b23SMartin Matuskacommand.
2693ff01b23SMartin Matuska.It Sy bootfs Ns = Ns Sy (unset) Ns | Ns Ar pool Ns Op / Ns Ar dataset
2703ff01b23SMartin MatuskaIdentifies the default bootable dataset for the root pool.
2713ff01b23SMartin MatuskaThis property is expected to be set mainly by the installation and upgrade programs.
2723ff01b23SMartin MatuskaNot all Linux distribution boot processes use the bootfs property.
2733ff01b23SMartin Matuska.It Sy cachefile Ns = Ns Ar path Ns | Ns Sy none
2743ff01b23SMartin MatuskaControls the location of where the pool configuration is cached.
2753ff01b23SMartin MatuskaDiscovering all pools on system startup requires a cached copy of the
2763ff01b23SMartin Matuskaconfiguration data that is stored on the root file system.
2773ff01b23SMartin MatuskaAll pools in this cache are automatically imported when the system boots.
2783ff01b23SMartin MatuskaSome environments, such as install and clustering, need to cache this
2793ff01b23SMartin Matuskainformation in a different location so that pools are not automatically
2803ff01b23SMartin Matuskaimported.
2813ff01b23SMartin MatuskaSetting this property caches the pool configuration in a different location that
2823ff01b23SMartin Matuskacan later be imported with
2833ff01b23SMartin Matuska.Nm zpool Cm import Fl c .
2843ff01b23SMartin MatuskaSetting it to the value
2853ff01b23SMartin Matuska.Sy none
2863ff01b23SMartin Matuskacreates a temporary pool that is never cached, and the
2873ff01b23SMartin Matuska.Qq
2883ff01b23SMartin Matuska.Pq empty string
2893ff01b23SMartin Matuskauses the default location.
2903ff01b23SMartin Matuska.Pp
2913ff01b23SMartin MatuskaMultiple pools can share the same cache file.
2923ff01b23SMartin MatuskaBecause the kernel destroys and recreates this file when pools are added and
2933ff01b23SMartin Matuskaremoved, care should be taken when attempting to access this file.
2943ff01b23SMartin MatuskaWhen the last pool using a
2953ff01b23SMartin Matuska.Sy cachefile
2963ff01b23SMartin Matuskais exported or destroyed, the file will be empty.
2973ff01b23SMartin Matuska.It Sy comment Ns = Ns Ar text
2983ff01b23SMartin MatuskaA text string consisting of printable ASCII characters that will be stored
2993ff01b23SMartin Matuskasuch that it is available even if the pool becomes faulted.
3003ff01b23SMartin MatuskaAn administrator can provide additional information about a pool using this
3013ff01b23SMartin Matuskaproperty.
3023ff01b23SMartin Matuska.It Sy compatibility Ns = Ns Sy off Ns | Ns Sy legacy Ns | Ns Ar file Ns Oo , Ns Ar file Oc Ns …
3033ff01b23SMartin MatuskaSpecifies that the pool maintain compatibility with specific feature sets.
3043ff01b23SMartin MatuskaWhen set to
3053ff01b23SMartin Matuska.Sy off
3063ff01b23SMartin Matuska(or unset) compatibility is disabled (all features may be enabled); when set to
3073ff01b23SMartin Matuska.Sy legacy Ns
3083ff01b23SMartin Matuskano features may be enabled.
3093ff01b23SMartin MatuskaWhen set to a comma-separated list of filenames
3103ff01b23SMartin Matuska(each filename may either be an absolute path, or relative to
3113ff01b23SMartin Matuska.Pa /etc/zfs/compatibility.d
3123ff01b23SMartin Matuskaor
3133ff01b23SMartin Matuska.Pa /usr/share/zfs/compatibility.d )
3143ff01b23SMartin Matuskathe lists of requested features are read from those files, separated by
3153ff01b23SMartin Matuskawhitespace and/or commas.
3163ff01b23SMartin MatuskaOnly features present in all files may be enabled.
3173ff01b23SMartin Matuska.Pp
3183ff01b23SMartin MatuskaSee
3193ff01b23SMartin Matuska.Xr zpool-features 7 ,
3203ff01b23SMartin Matuska.Xr zpool-create 8
3213ff01b23SMartin Matuskaand
3223ff01b23SMartin Matuska.Xr zpool-upgrade 8
3233ff01b23SMartin Matuskafor more information on the operation of compatibility feature sets.
3243ff01b23SMartin Matuska.It Sy dedupditto Ns = Ns Ar number
3253ff01b23SMartin MatuskaThis property is deprecated and no longer has any effect.
3263ff01b23SMartin Matuska.It Sy delegation Ns = Ns Sy on Ns | Ns Sy off
3273ff01b23SMartin MatuskaControls whether a non-privileged user is granted access based on the dataset
3283ff01b23SMartin Matuskapermissions defined on the dataset.
3293ff01b23SMartin MatuskaSee
3303ff01b23SMartin Matuska.Xr zfs 8
3313ff01b23SMartin Matuskafor more information on ZFS delegated administration.
3323ff01b23SMartin Matuska.It Sy failmode Ns = Ns Sy wait Ns | Ns Sy continue Ns | Ns Sy panic
3333ff01b23SMartin MatuskaControls the system behavior in the event of catastrophic pool failure.
3343ff01b23SMartin MatuskaThis condition is typically a result of a loss of connectivity to the underlying
3353ff01b23SMartin Matuskastorage device(s) or a failure of all devices within the pool.
3363ff01b23SMartin MatuskaThe behavior of such an event is determined as follows:
3373ff01b23SMartin Matuska.Bl -tag -width "continue"
3383ff01b23SMartin Matuska.It Sy wait
3393ff01b23SMartin MatuskaBlocks all I/O access until the device connectivity is recovered and the errors
340*e92ffd9bSMartin Matuskaare cleared with
341*e92ffd9bSMartin Matuska.Nm zpool Cm clear .
3423ff01b23SMartin MatuskaThis is the default behavior.
3433ff01b23SMartin Matuska.It Sy continue
3443ff01b23SMartin MatuskaReturns
3453ff01b23SMartin Matuska.Er EIO
3463ff01b23SMartin Matuskato any new write I/O requests but allows reads to any of the remaining healthy
3473ff01b23SMartin Matuskadevices.
3483ff01b23SMartin MatuskaAny write requests that have yet to be committed to disk would be blocked.
3493ff01b23SMartin Matuska.It Sy panic
3503ff01b23SMartin MatuskaPrints out a message to the console and generates a system crash dump.
3513ff01b23SMartin Matuska.El
3523ff01b23SMartin Matuska.It Sy feature@ Ns Ar feature_name Ns = Ns Sy enabled
3533ff01b23SMartin MatuskaThe value of this property is the current state of
3543ff01b23SMartin Matuska.Ar feature_name .
3553ff01b23SMartin MatuskaThe only valid value when setting this property is
3563ff01b23SMartin Matuska.Sy enabled
3573ff01b23SMartin Matuskawhich moves
3583ff01b23SMartin Matuska.Ar feature_name
3593ff01b23SMartin Matuskato the enabled state.
3603ff01b23SMartin MatuskaSee
3613ff01b23SMartin Matuska.Xr zpool-features 7
3623ff01b23SMartin Matuskafor details on feature states.
3633ff01b23SMartin Matuska.It Sy listsnapshots Ns = Ns Sy on Ns | Ns Sy off
3643ff01b23SMartin MatuskaControls whether information about snapshots associated with this pool is
3653ff01b23SMartin Matuskaoutput when
3663ff01b23SMartin Matuska.Nm zfs Cm list
3673ff01b23SMartin Matuskais run without the
3683ff01b23SMartin Matuska.Fl t
3693ff01b23SMartin Matuskaoption.
3703ff01b23SMartin MatuskaThe default value is
3713ff01b23SMartin Matuska.Sy off .
3723ff01b23SMartin MatuskaThis property can also be referred to by its shortened name,
3733ff01b23SMartin Matuska.Sy listsnaps .
3743ff01b23SMartin Matuska.It Sy multihost Ns = Ns Sy on Ns | Ns Sy off
3753ff01b23SMartin MatuskaControls whether a pool activity check should be performed during
3763ff01b23SMartin Matuska.Nm zpool Cm import .
3773ff01b23SMartin MatuskaWhen a pool is determined to be active it cannot be imported, even with the
3783ff01b23SMartin Matuska.Fl f
3793ff01b23SMartin Matuskaoption.
3803ff01b23SMartin MatuskaThis property is intended to be used in failover configurations
3813ff01b23SMartin Matuskawhere multiple hosts have access to a pool on shared storage.
3823ff01b23SMartin Matuska.Pp
3833ff01b23SMartin MatuskaMultihost provides protection on import only.
3843ff01b23SMartin MatuskaIt does not protect against an
3853ff01b23SMartin Matuskaindividual device being used in multiple pools, regardless of the type of vdev.
3863ff01b23SMartin MatuskaSee the discussion under
3873ff01b23SMartin Matuska.Nm zpool Cm create .
3883ff01b23SMartin Matuska.Pp
3893ff01b23SMartin MatuskaWhen this property is on, periodic writes to storage occur to show the pool is
3903ff01b23SMartin Matuskain use.
3913ff01b23SMartin MatuskaSee
3923ff01b23SMartin Matuska.Sy zfs_multihost_interval
3933ff01b23SMartin Matuskain the
3943ff01b23SMartin Matuska.Xr zfs 4
3953ff01b23SMartin Matuskamanual page.
3963ff01b23SMartin MatuskaIn order to enable this property each host must set a unique hostid.
3973ff01b23SMartin MatuskaSee
3983ff01b23SMartin Matuska.Xr genhostid 1
3993ff01b23SMartin Matuska.Xr zgenhostid 8
4003ff01b23SMartin Matuska.Xr spl 4
4013ff01b23SMartin Matuskafor additional details.
4023ff01b23SMartin MatuskaThe default value is
4033ff01b23SMartin Matuska.Sy off .
4043ff01b23SMartin Matuska.It Sy version Ns = Ns Ar version
4053ff01b23SMartin MatuskaThe current on-disk version of the pool.
4063ff01b23SMartin MatuskaThis can be increased, but never decreased.
4073ff01b23SMartin MatuskaThe preferred method of updating pools is with the
4083ff01b23SMartin Matuska.Nm zpool Cm upgrade
4093ff01b23SMartin Matuskacommand, though this property can be used when a specific version is needed for
4103ff01b23SMartin Matuskabackwards compatibility.
4113ff01b23SMartin MatuskaOnce feature flags are enabled on a pool this property will no longer have a
4123ff01b23SMartin Matuskavalue.
4133ff01b23SMartin Matuska.El
414