xref: /freebsd-src/sys/contrib/openzfs/man/man7/zpool-features.7 (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
13ff01b23SMartin Matuska.\"
23ff01b23SMartin Matuska.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
33ff01b23SMartin Matuska.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
43ff01b23SMartin Matuska.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
53ff01b23SMartin Matuska.\" The contents of this file are subject to the terms of the Common Development
63ff01b23SMartin Matuska.\" and Distribution License (the "License").  You may not use this file except
73ff01b23SMartin Matuska.\" in compliance with the License. You can obtain a copy of the license at
8271171e0SMartin Matuska.\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0.
93ff01b23SMartin Matuska.\"
103ff01b23SMartin Matuska.\" See the License for the specific language governing permissions and
113ff01b23SMartin Matuska.\" limitations under the License. When distributing Covered Code, include this
123ff01b23SMartin Matuska.\" CDDL HEADER in each file and include the License file at
133ff01b23SMartin Matuska.\" usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this
143ff01b23SMartin Matuska.\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your
153ff01b23SMartin Matuska.\" own identifying information:
163ff01b23SMartin Matuska.\" Portions Copyright [yyyy] [name of copyright owner]
173ff01b23SMartin Matuska.\" Copyright (c) 2019, Klara Inc.
183ff01b23SMartin Matuska.\" Copyright (c) 2019, Allan Jude
193ff01b23SMartin Matuska.\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
203ff01b23SMartin Matuska.\"
21a0b956f5SMartin Matuska.Dd June 23, 2022
223ff01b23SMartin Matuska.Dt ZPOOL-FEATURES 7
233ff01b23SMartin Matuska.Os
243ff01b23SMartin Matuska.
253ff01b23SMartin Matuska.Sh NAME
263ff01b23SMartin Matuska.Nm zpool-features
273ff01b23SMartin Matuska.Nd description of ZFS pool features
283ff01b23SMartin Matuska.
293ff01b23SMartin Matuska.Sh DESCRIPTION
30a0b956f5SMartin MatuskaZFS pool on-disk format versions are specified via
31a0b956f5SMartin Matuska.Dq features
32a0b956f5SMartin Matuskawhich replace the old on-disk format numbers
33a0b956f5SMartin Matuska.Pq the last supported on-disk format number is 28 .
343ff01b23SMartin MatuskaTo enable a feature on a pool use the
353ff01b23SMartin Matuska.Nm zpool Cm upgrade ,
363ff01b23SMartin Matuskaor set the
373ff01b23SMartin Matuska.Sy feature Ns @ Ns Ar feature-name
383ff01b23SMartin Matuskaproperty to
393ff01b23SMartin Matuska.Sy enabled .
403ff01b23SMartin MatuskaPlease also see the
413ff01b23SMartin Matuska.Sx Compatibility feature sets
423ff01b23SMartin Matuskasection for information on how sets of features may be enabled together.
433ff01b23SMartin Matuska.Pp
443ff01b23SMartin MatuskaThe pool format does not affect file system version compatibility or the ability
453ff01b23SMartin Matuskato send file systems between pools.
463ff01b23SMartin Matuska.Pp
473ff01b23SMartin MatuskaSince most features can be enabled independently of each other, the on-disk
483ff01b23SMartin Matuskaformat of the pool is specified by the set of all features marked as
493ff01b23SMartin Matuska.Sy active
503ff01b23SMartin Matuskaon the pool.
513ff01b23SMartin MatuskaIf the pool was created by another software version
523ff01b23SMartin Matuskathis set may include unsupported features.
533ff01b23SMartin Matuska.
543ff01b23SMartin Matuska.Ss Identifying features
553ff01b23SMartin MatuskaEvery feature has a GUID of the form
563ff01b23SMartin Matuska.Ar com.example : Ns Ar feature-name .
573ff01b23SMartin MatuskaThe reversed DNS name ensures that the feature's GUID is unique across all ZFS
583ff01b23SMartin Matuskaimplementations.
593ff01b23SMartin MatuskaWhen unsupported features are encountered on a pool they will
603ff01b23SMartin Matuskabe identified by their GUIDs.
613ff01b23SMartin MatuskaRefer to the documentation for the ZFS
623ff01b23SMartin Matuskaimplementation that created the pool for information about those features.
633ff01b23SMartin Matuska.Pp
643ff01b23SMartin MatuskaEach supported feature also has a short name.
65bb2d13b6SMartin MatuskaBy convention a feature's short name is the portion of its GUID which follows
66bb2d13b6SMartin Matuskathe
673ff01b23SMartin Matuska.Sq \&:
68a0b956f5SMartin Matuska.Po
69a0b956f5SMartin Matuskai.e.
703ff01b23SMartin Matuska.Ar com.example : Ns Ar feature-name
713ff01b23SMartin Matuskawould have the short name
72a0b956f5SMartin Matuska.Ar feature-name
73a0b956f5SMartin Matuska.Pc ,
743ff01b23SMartin Matuskahowever a feature's short name may differ across ZFS implementations if
753ff01b23SMartin Matuskafollowing the convention would result in name conflicts.
763ff01b23SMartin Matuska.
773ff01b23SMartin Matuska.Ss Feature states
783ff01b23SMartin MatuskaFeatures can be in one of three states:
793ff01b23SMartin Matuska.Bl -tag -width "disabled"
803ff01b23SMartin Matuska.It Sy active
813ff01b23SMartin MatuskaThis feature's on-disk format changes are in effect on the pool.
823ff01b23SMartin MatuskaSupport for this feature is required to import the pool in read-write mode.
833ff01b23SMartin MatuskaIf this feature is not read-only compatible,
843ff01b23SMartin Matuskasupport is also required to import the pool in read-only mode
853ff01b23SMartin Matuska.Pq see Sx Read-only compatibility .
863ff01b23SMartin Matuska.It Sy enabled
873ff01b23SMartin MatuskaAn administrator has marked this feature as enabled on the pool, but the
883ff01b23SMartin Matuskafeature's on-disk format changes have not been made yet.
893ff01b23SMartin MatuskaThe pool can still be imported by software that does not support this feature,
903ff01b23SMartin Matuskabut changes may be made to the on-disk format at any time
913ff01b23SMartin Matuskawhich will move the feature to the
923ff01b23SMartin Matuska.Sy active
933ff01b23SMartin Matuskastate.
943ff01b23SMartin MatuskaSome features may support returning to the
953ff01b23SMartin Matuska.Sy enabled
963ff01b23SMartin Matuskastate after becoming
973ff01b23SMartin Matuska.Sy active .
983ff01b23SMartin MatuskaSee feature-specific documentation for details.
993ff01b23SMartin Matuska.It Sy disabled
1003ff01b23SMartin MatuskaThis feature's on-disk format changes have not been made and will not be made
1013ff01b23SMartin Matuskaunless an administrator moves the feature to the
1023ff01b23SMartin Matuska.Sy enabled
1033ff01b23SMartin Matuskastate.
1043ff01b23SMartin MatuskaFeatures cannot be disabled once they have been enabled.
1053ff01b23SMartin Matuska.El
1063ff01b23SMartin Matuska.Pp
1073ff01b23SMartin MatuskaThe state of supported features is exposed through pool properties of the form
1083ff01b23SMartin Matuska.Sy feature Ns @ Ns Ar short-name .
1093ff01b23SMartin Matuska.
1103ff01b23SMartin Matuska.Ss Read-only compatibility
1113ff01b23SMartin MatuskaSome features may make on-disk format changes that do not interfere with other
1123ff01b23SMartin Matuskasoftware's ability to read from the pool.
1133ff01b23SMartin MatuskaThese features are referred to as
1143ff01b23SMartin Matuska.Dq read-only compatible .
1153ff01b23SMartin MatuskaIf all unsupported features on a pool are read-only compatible,
1163ff01b23SMartin Matuskathe pool can be imported in read-only mode by setting the
1173ff01b23SMartin Matuska.Sy readonly
118a0b956f5SMartin Matuskaproperty during import
119a0b956f5SMartin Matuska.Po see
1203ff01b23SMartin Matuska.Xr zpool-import 8
121a0b956f5SMartin Matuskafor details on importing pools
122a0b956f5SMartin Matuska.Pc .
1233ff01b23SMartin Matuska.
1243ff01b23SMartin Matuska.Ss Unsupported features
1253ff01b23SMartin MatuskaFor each unsupported feature enabled on an imported pool, a pool property
1263ff01b23SMartin Matuskanamed
1273ff01b23SMartin Matuska.Sy unsupported Ns @ Ns Ar feature-name
1283ff01b23SMartin Matuskawill indicate why the import was allowed despite the unsupported feature.
1293ff01b23SMartin MatuskaPossible values for this property are:
1303ff01b23SMartin Matuska.Bl -tag -width "readonly"
1313ff01b23SMartin Matuska.It Sy inactive
1323ff01b23SMartin MatuskaThe feature is in the
1333ff01b23SMartin Matuska.Sy enabled
1343ff01b23SMartin Matuskastate and therefore the pool's on-disk
1353ff01b23SMartin Matuskaformat is still compatible with software that does not support this feature.
1363ff01b23SMartin Matuska.It Sy readonly
1373ff01b23SMartin MatuskaThe feature is read-only compatible and the pool has been imported in
1383ff01b23SMartin Matuskaread-only mode.
1393ff01b23SMartin Matuska.El
1403ff01b23SMartin Matuska.
1413ff01b23SMartin Matuska.Ss Feature dependencies
1423ff01b23SMartin MatuskaSome features depend on other features being enabled in order to function.
1433ff01b23SMartin MatuskaEnabling a feature will automatically enable any features it depends on.
1443ff01b23SMartin Matuska.
1453ff01b23SMartin Matuska.Ss Compatibility feature sets
1463ff01b23SMartin MatuskaIt is sometimes necessary for a pool to maintain compatibility with a
1473ff01b23SMartin Matuskaspecific on-disk format, by enabling and disabling particular features.
1483ff01b23SMartin MatuskaThe
1493ff01b23SMartin Matuska.Sy compatibility
1503ff01b23SMartin Matuskafeature facilitates this by allowing feature sets to be read from text files.
1513ff01b23SMartin MatuskaWhen set to
1523ff01b23SMartin Matuska.Sy off
153a0b956f5SMartin Matuska.Pq the default ,
154a0b956f5SMartin Matuskacompatibility feature sets are disabled
155a0b956f5SMartin Matuska.Pq i.e. all features are enabled ;
156a0b956f5SMartin Matuskawhen set to
1573ff01b23SMartin Matuska.Sy legacy ,
1583ff01b23SMartin Matuskano features are enabled.
1593ff01b23SMartin MatuskaWhen set to a comma-separated list of filenames
160a0b956f5SMartin Matuska.Po
161a0b956f5SMartin Matuskaeach filename may either be an absolute path, or relative to
1623ff01b23SMartin Matuska.Pa /etc/zfs/compatibility.d
1633ff01b23SMartin Matuskaor
164a0b956f5SMartin Matuska.Pa /usr/share/zfs/compatibility.d
165a0b956f5SMartin Matuska.Pc ,
1663ff01b23SMartin Matuskathe lists of requested features are read from those files,
1673ff01b23SMartin Matuskaseparated by whitespace and/or commas.
1683ff01b23SMartin MatuskaOnly features present in all files are enabled.
1693ff01b23SMartin Matuska.Pp
1703ff01b23SMartin MatuskaSimple sanity checks are applied to the files:
171bb2d13b6SMartin Matuskathey must be between 1 B and 16 KiB in size, and must end with a newline
172bb2d13b6SMartin Matuskacharacter.
1733ff01b23SMartin Matuska.Pp
1743ff01b23SMartin MatuskaThe requested features are applied when a pool is created using
1753ff01b23SMartin Matuska.Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar …
1763ff01b23SMartin Matuskaand controls which features are enabled when using
1773ff01b23SMartin Matuska.Nm zpool Cm upgrade .
1783ff01b23SMartin Matuska.Nm zpool Cm status
1793ff01b23SMartin Matuskawill not show a warning about disabled features which are not part
1803ff01b23SMartin Matuskaof the requested feature set.
1813ff01b23SMartin Matuska.Pp
1823ff01b23SMartin MatuskaThe special value
1833ff01b23SMartin Matuska.Sy legacy
1843ff01b23SMartin Matuskaprevents any features from being enabled, either via
1853ff01b23SMartin Matuska.Nm zpool Cm upgrade
1863ff01b23SMartin Matuskaor
1873ff01b23SMartin Matuska.Nm zpool Cm set Sy feature Ns @ Ns Ar feature-name Ns = Ns Sy enabled .
1883ff01b23SMartin MatuskaThis setting also prevents pools from being upgraded to newer on-disk versions.
1893ff01b23SMartin MatuskaThis is a safety measure to prevent new features from being
1903ff01b23SMartin Matuskaaccidentally enabled, breaking compatibility.
1913ff01b23SMartin Matuska.Pp
1923ff01b23SMartin MatuskaBy convention, compatibility files in
1933ff01b23SMartin Matuska.Pa /usr/share/zfs/compatibility.d
1943ff01b23SMartin Matuskaare provided by the distribution, and include feature sets
1953ff01b23SMartin Matuskasupported by important versions of popular distributions, and feature
1963ff01b23SMartin Matuskasets commonly supported at the start of each year.
1973ff01b23SMartin MatuskaCompatibility files in
1983ff01b23SMartin Matuska.Pa /etc/zfs/compatibility.d ,
1993ff01b23SMartin Matuskaif present, will take precedence over files with the same name in
2003ff01b23SMartin Matuska.Pa /usr/share/zfs/compatibility.d .
2013ff01b23SMartin Matuska.Pp
2023ff01b23SMartin MatuskaIf an unrecognized feature is found in these files, an error message will
2033ff01b23SMartin Matuskabe shown.
2043ff01b23SMartin MatuskaIf the unrecognized feature is in a file in
2053ff01b23SMartin Matuska.Pa /etc/zfs/compatibility.d ,
2063ff01b23SMartin Matuskathis is treated as an error and processing will stop.
2073ff01b23SMartin MatuskaIf the unrecognized feature is under
2083ff01b23SMartin Matuska.Pa /usr/share/zfs/compatibility.d ,
2093ff01b23SMartin Matuskathis is treated as a warning and processing will continue.
2103ff01b23SMartin MatuskaThis difference is to allow distributions to include features
2113ff01b23SMartin Matuskawhich might not be recognized by the currently-installed binaries.
2123ff01b23SMartin Matuska.Pp
2133ff01b23SMartin MatuskaCompatibility files may include comments:
2143ff01b23SMartin Matuskaany text from
2153ff01b23SMartin Matuska.Sq #
2163ff01b23SMartin Matuskato the end of the line is ignored.
2173ff01b23SMartin Matuska.Pp
2183ff01b23SMartin Matuska.Sy Example :
2193ff01b23SMartin Matuska.Bd -literal -compact -offset 4n
2203ff01b23SMartin Matuska.No example# Nm cat Pa /usr/share/zfs/compatibility.d/grub2
2213ff01b23SMartin Matuska# Features which are supported by GRUB2
2223ff01b23SMartin Matuskaasync_destroy
2233ff01b23SMartin Matuskabookmarks
2243ff01b23SMartin Matuskaembedded_data
2253ff01b23SMartin Matuskaempty_bpobj
2263ff01b23SMartin Matuskaenabled_txg
2273ff01b23SMartin Matuskaextensible_dataset
2283ff01b23SMartin Matuskafilesystem_limits
2293ff01b23SMartin Matuskahole_birth
2303ff01b23SMartin Matuskalarge_blocks
2313ff01b23SMartin Matuskalz4_compress
2323ff01b23SMartin Matuskaspacemap_histogram
2333ff01b23SMartin Matuska
2343ff01b23SMartin Matuska.No example# Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar grub2 Ar bootpool Ar vdev
2353ff01b23SMartin Matuska.Ed
2363ff01b23SMartin Matuska.Pp
2373ff01b23SMartin MatuskaSee
2383ff01b23SMartin Matuska.Xr zpool-create 8
2393ff01b23SMartin Matuskaand
2403ff01b23SMartin Matuska.Xr zpool-upgrade 8
2413ff01b23SMartin Matuskafor more information on how these commands are affected by feature sets.
2423ff01b23SMartin Matuska.
2433ff01b23SMartin Matuska.de feature
2443ff01b23SMartin Matuska.It Sy \\$2
2453ff01b23SMartin Matuska.Bl -tag -compact -width "READ-ONLY COMPATIBLE"
2463ff01b23SMartin Matuska.It GUID
2473ff01b23SMartin Matuska.Sy \\$1:\\$2
2483ff01b23SMartin Matuska.if !"\\$4"" \{\
2493ff01b23SMartin Matuska.It DEPENDENCIES
2503ff01b23SMartin Matuska\fB\\$4\fP\c
2513ff01b23SMartin Matuska.if !"\\$5"" , \fB\\$5\fP\c
2523ff01b23SMartin Matuska.if !"\\$6"" , \fB\\$6\fP\c
2533ff01b23SMartin Matuska.if !"\\$7"" , \fB\\$7\fP\c
2543ff01b23SMartin Matuska.if !"\\$8"" , \fB\\$8\fP\c
2553ff01b23SMartin Matuska.if !"\\$9"" , \fB\\$9\fP\c
2563ff01b23SMartin Matuska.\}
2573ff01b23SMartin Matuska.It READ-ONLY COMPATIBLE
2583ff01b23SMartin Matuska\\$3
2593ff01b23SMartin Matuska.El
2603ff01b23SMartin Matuska.Pp
2613ff01b23SMartin Matuska..
2623ff01b23SMartin Matuska.
2633ff01b23SMartin Matuska.ds instant-never \
2643ff01b23SMartin Matuska.No This feature becomes Sy active No as soon as it is enabled \
2653ff01b23SMartin Matuskaand will never return to being Sy enabled .
2663ff01b23SMartin Matuska.
2673ff01b23SMartin Matuska.ds remount-upgrade \
2683ff01b23SMartin Matuska.No Each filesystem will be upgraded automatically when remounted, \
2693ff01b23SMartin Matuskaor when a new file is created under that filesystem. \
2703ff01b23SMartin MatuskaThe upgrade can also be triggered on filesystems via \
2713ff01b23SMartin MatuskaNm zfs Cm set Sy version Ns = Ns Sy current Ar fs . \
2723ff01b23SMartin MatuskaNo The upgrade process runs in the background and may take a while to complete \
2733ff01b23SMartin Matuskafor filesystems containing large amounts of files .
2743ff01b23SMartin Matuska.
2753ff01b23SMartin Matuska.de checksum-spiel
2763ff01b23SMartin MatuskaWhen the
2773ff01b23SMartin Matuska.Sy \\$1
2783ff01b23SMartin Matuskafeature is set to
2793ff01b23SMartin Matuska.Sy enabled ,
2803ff01b23SMartin Matuskathe administrator can turn on the
2813ff01b23SMartin Matuska.Sy \\$1
2823ff01b23SMartin Matuskachecksum on any dataset using
2833ff01b23SMartin Matuska.Nm zfs Cm set Sy checksum Ns = Ns Sy \\$1 Ar dset
2843ff01b23SMartin Matuska.Po see Xr zfs-set 8 Pc .
2853ff01b23SMartin MatuskaThis feature becomes
2863ff01b23SMartin Matuska.Sy active
2873ff01b23SMartin Matuskaonce a
2883ff01b23SMartin Matuska.Sy checksum
2893ff01b23SMartin Matuskaproperty has been set to
2903ff01b23SMartin Matuska.Sy \\$1 ,
2913ff01b23SMartin Matuskaand will return to being
2923ff01b23SMartin Matuska.Sy enabled
2933ff01b23SMartin Matuskaonce all filesystems that have ever had their checksum set to
2943ff01b23SMartin Matuska.Sy \\$1
2953ff01b23SMartin Matuskaare destroyed.
2963ff01b23SMartin Matuska..
2973ff01b23SMartin Matuska.
2983ff01b23SMartin Matuska.Sh FEATURES
2993ff01b23SMartin MatuskaThe following features are supported on this system:
3003ff01b23SMartin Matuska.Bl -tag -width Ds
3013ff01b23SMartin Matuska.feature org.zfsonlinux allocation_classes yes
3023ff01b23SMartin MatuskaThis feature enables support for separate allocation classes.
3033ff01b23SMartin Matuska.Pp
3043ff01b23SMartin MatuskaThis feature becomes
3053ff01b23SMartin Matuska.Sy active
306a0b956f5SMartin Matuskawhen a dedicated allocation class vdev
307a0b956f5SMartin Matuska.Pq dedup or special
308a0b956f5SMartin Matuskais created with the
3093ff01b23SMartin Matuska.Nm zpool Cm create No or Nm zpool Cm add No commands .
3103ff01b23SMartin MatuskaWith device removal, it can be returned to the
3113ff01b23SMartin Matuska.Sy enabled
3123ff01b23SMartin Matuskastate if all the dedicated allocation class vdevs are removed.
3133ff01b23SMartin Matuska.
3143ff01b23SMartin Matuska.feature com.delphix async_destroy yes
3153ff01b23SMartin MatuskaDestroying a file system requires traversing all of its data in order to
3163ff01b23SMartin Matuskareturn its used space to the pool.
3173ff01b23SMartin MatuskaWithout
3183ff01b23SMartin Matuska.Sy async_destroy ,
3193ff01b23SMartin Matuskathe file system is not fully removed until all space has been reclaimed.
3203ff01b23SMartin MatuskaIf the destroy operation is interrupted by a reboot or power outage,
3213ff01b23SMartin Matuskathe next attempt to open the pool will need to complete the destroy
3223ff01b23SMartin Matuskaoperation synchronously.
3233ff01b23SMartin Matuska.Pp
3243ff01b23SMartin MatuskaWhen
3253ff01b23SMartin Matuska.Sy async_destroy
3263ff01b23SMartin Matuskais enabled, the file system's data will be reclaimed by a background process,
3273ff01b23SMartin Matuskaallowing the destroy operation to complete
3283ff01b23SMartin Matuskawithout traversing the entire file system.
3293ff01b23SMartin MatuskaThe background process is able to resume
3303ff01b23SMartin Matuskainterrupted destroys after the pool has been opened, eliminating the need
3313ff01b23SMartin Matuskato finish interrupted destroys as part of the open operation.
3323ff01b23SMartin MatuskaThe amount of space remaining to be reclaimed by the background process
3333ff01b23SMartin Matuskais available through the
3343ff01b23SMartin Matuska.Sy freeing
3353ff01b23SMartin Matuskaproperty.
3363ff01b23SMartin Matuska.Pp
3373ff01b23SMartin MatuskaThis feature is only
3383ff01b23SMartin Matuska.Sy active
3393ff01b23SMartin Matuskawhile
3403ff01b23SMartin Matuska.Sy freeing
3413ff01b23SMartin Matuskais non-zero.
3423ff01b23SMartin Matuska.
3431f1e2261SMartin Matuska.feature org.openzfs blake3 no extensible_dataset
344bb2d13b6SMartin MatuskaThis feature enables the use of the BLAKE3 hash algorithm for checksum and
345bb2d13b6SMartin Matuskadedup.
3461f1e2261SMartin MatuskaBLAKE3 is a secure hash algorithm focused on high performance.
3471f1e2261SMartin Matuska.Pp
3481f1e2261SMartin Matuska.checksum-spiel blake3
3491f1e2261SMartin Matuska.
350*2a58b312SMartin Matuska.feature com.fudosecurity block_cloning yes
351*2a58b312SMartin MatuskaWhen this feature is enabled ZFS will use block cloning for operations like
352*2a58b312SMartin Matuska.Fn copy_file_range 2 .
353*2a58b312SMartin MatuskaBlock cloning allows to create multiple references to a single block.
354*2a58b312SMartin MatuskaIt is much faster than copying the data (as the actual data is neither read nor
355*2a58b312SMartin Matuskawritten) and takes no additional space.
356*2a58b312SMartin MatuskaBlocks can be cloned across datasets under some conditions (like disabled
357*2a58b312SMartin Matuskaencryption and equal
358*2a58b312SMartin Matuska.Nm recordsize ) .
359*2a58b312SMartin Matuska.Pp
360*2a58b312SMartin MatuskaThis feature becomes
361*2a58b312SMartin Matuska.Sy active
362*2a58b312SMartin Matuskawhen first block is cloned.
363*2a58b312SMartin MatuskaWhen the last cloned block is freed, it goes back to the enabled state.
3643ff01b23SMartin Matuska.feature com.delphix bookmarks yes extensible_dataset
3653ff01b23SMartin MatuskaThis feature enables use of the
3663ff01b23SMartin Matuska.Nm zfs Cm bookmark
3673ff01b23SMartin Matuskacommand.
3683ff01b23SMartin Matuska.Pp
3693ff01b23SMartin MatuskaThis feature is
3703ff01b23SMartin Matuska.Sy active
3713ff01b23SMartin Matuskawhile any bookmarks exist in the pool.
3723ff01b23SMartin MatuskaAll bookmarks in the pool can be listed by running
3733ff01b23SMartin Matuska.Nm zfs Cm list Fl t Sy bookmark Fl r Ar poolname .
3743ff01b23SMartin Matuska.
3753ff01b23SMartin Matuska.feature com.datto bookmark_v2 no bookmark extensible_dataset
3763ff01b23SMartin MatuskaThis feature enables the creation and management of larger bookmarks which are
3773ff01b23SMartin Matuskaneeded for other features in ZFS.
3783ff01b23SMartin Matuska.Pp
3793ff01b23SMartin MatuskaThis feature becomes
3803ff01b23SMartin Matuska.Sy active
3813ff01b23SMartin Matuskawhen a v2 bookmark is created and will be returned to the
3823ff01b23SMartin Matuska.Sy enabled
3833ff01b23SMartin Matuskastate when all v2 bookmarks are destroyed.
3843ff01b23SMartin Matuska.
3853ff01b23SMartin Matuska.feature com.delphix bookmark_written no bookmark extensible_dataset bookmark_v2
3863ff01b23SMartin MatuskaThis feature enables additional bookmark accounting fields, enabling the
3873ff01b23SMartin Matuska.Sy written Ns # Ns Ar bookmark
388a0b956f5SMartin Matuskaproperty
389a0b956f5SMartin Matuska.Pq space written since a bookmark
390a0b956f5SMartin Matuskaand estimates of send stream sizes for incrementals from bookmarks.
3913ff01b23SMartin Matuska.Pp
3923ff01b23SMartin MatuskaThis feature becomes
3933ff01b23SMartin Matuska.Sy active
3943ff01b23SMartin Matuskawhen a bookmark is created and will be
3953ff01b23SMartin Matuskareturned to the
3963ff01b23SMartin Matuska.Sy enabled
3973ff01b23SMartin Matuskastate when all bookmarks with these fields are destroyed.
3983ff01b23SMartin Matuska.
3993ff01b23SMartin Matuska.feature org.openzfs device_rebuild yes
4003ff01b23SMartin MatuskaThis feature enables the ability for the
4013ff01b23SMartin Matuska.Nm zpool Cm attach
4023ff01b23SMartin Matuskaand
4033ff01b23SMartin Matuska.Nm zpool Cm replace
4043ff01b23SMartin Matuskacommands to perform sequential reconstruction
405a0b956f5SMartin Matuska.Pq instead of healing reconstruction
406a0b956f5SMartin Matuskawhen resilvering.
4073ff01b23SMartin Matuska.Pp
4083ff01b23SMartin MatuskaSequential reconstruction resilvers a device in LBA order without immediately
4093ff01b23SMartin Matuskaverifying the checksums.
4103ff01b23SMartin MatuskaOnce complete, a scrub is started, which then verifies the checksums.
4113ff01b23SMartin MatuskaThis approach allows full redundancy to be restored to the pool
4123ff01b23SMartin Matuskain the minimum amount of time.
4133ff01b23SMartin MatuskaThis two-phase approach will take longer than a healing resilver
4143ff01b23SMartin Matuskawhen the time to verify the checksums is included.
4153ff01b23SMartin MatuskaHowever, unless there is additional pool damage,
4163ff01b23SMartin Matuskano checksum errors should be reported by the scrub.
4173ff01b23SMartin MatuskaThis feature is incompatible with raidz configurations.
4183ff01b23SMartin Matuska.
4193ff01b23SMartin MatuskaThis feature becomes
4203ff01b23SMartin Matuska.Sy active
4213ff01b23SMartin Matuskawhile a sequential resilver is in progress, and returns to
4223ff01b23SMartin Matuska.Sy enabled
4233ff01b23SMartin Matuskawhen the resilver completes.
4243ff01b23SMartin Matuska.
4253ff01b23SMartin Matuska.feature com.delphix device_removal no
4263ff01b23SMartin MatuskaThis feature enables the
4273ff01b23SMartin Matuska.Nm zpool Cm remove
4283ff01b23SMartin Matuskacommand to remove top-level vdevs,
4293ff01b23SMartin Matuskaevacuating them to reduce the total size of the pool.
4303ff01b23SMartin Matuska.Pp
4313ff01b23SMartin MatuskaThis feature becomes
4323ff01b23SMartin Matuska.Sy active
4333ff01b23SMartin Matuskawhen the
4343ff01b23SMartin Matuska.Nm zpool Cm remove
4353ff01b23SMartin Matuskacommand is used
4363ff01b23SMartin Matuskaon a top-level vdev, and will never return to being
4373ff01b23SMartin Matuska.Sy enabled .
4383ff01b23SMartin Matuska.
4393ff01b23SMartin Matuska.feature org.openzfs draid no
4403ff01b23SMartin MatuskaThis feature enables use of the
4413ff01b23SMartin Matuska.Sy draid
4423ff01b23SMartin Matuskavdev type.
443c03c5b1cSMartin MatuskadRAID is a variant of RAID-Z which provides integrated distributed
444c03c5b1cSMartin Matuskahot spares that allow faster resilvering while retaining the benefits of RAID-Z.
4453ff01b23SMartin MatuskaData, parity, and spare space are organized in redundancy groups
4463ff01b23SMartin Matuskaand distributed evenly over all of the devices.
4473ff01b23SMartin Matuska.Pp
4483ff01b23SMartin MatuskaThis feature becomes
4493ff01b23SMartin Matuska.Sy active
4503ff01b23SMartin Matuskawhen creating a pool which uses the
4513ff01b23SMartin Matuska.Sy draid
4523ff01b23SMartin Matuskavdev type, or when adding a new
4533ff01b23SMartin Matuska.Sy draid
4543ff01b23SMartin Matuskavdev to an existing pool.
4553ff01b23SMartin Matuska.
4563ff01b23SMartin Matuska.feature org.illumos edonr no extensible_dataset
4573ff01b23SMartin MatuskaThis feature enables the use of the Edon-R hash algorithm for checksum,
458a0b956f5SMartin Matuskaincluding for nopwrite
459a0b956f5SMartin Matuska.Po if compression is also enabled, an overwrite of
460a0b956f5SMartin Matuskaa block whose checksum matches the data being written will be ignored
461a0b956f5SMartin Matuska.Pc .
4623ff01b23SMartin MatuskaIn an abundance of caution, Edon-R requires verification when used with
4633ff01b23SMartin Matuskadedup:
4643ff01b23SMartin Matuska.Nm zfs Cm set Sy dedup Ns = Ns Sy edonr , Ns Sy verify
4653ff01b23SMartin Matuska.Po see Xr zfs-set 8 Pc .
4663ff01b23SMartin Matuska.Pp
4673ff01b23SMartin MatuskaEdon-R is a very high-performance hash algorithm that was part
4683ff01b23SMartin Matuskaof the NIST SHA-3 competition.
469a0b956f5SMartin MatuskaIt provides extremely high hash performance
470a0b956f5SMartin Matuska.Pq over 350% faster than SHA-256 ,
4713ff01b23SMartin Matuskabut was not selected because of its unsuitability
4723ff01b23SMartin Matuskaas a general purpose secure hash algorithm.
4733ff01b23SMartin MatuskaThis implementation utilizes the new salted checksumming functionality
4743ff01b23SMartin Matuskain ZFS, which means that the checksum is pre-seeded with a secret
475a0b956f5SMartin Matuska256-bit random key
476a0b956f5SMartin Matuska.Pq stored on the pool
477a0b956f5SMartin Matuskabefore being fed the data block to be checksummed.
4783ff01b23SMartin MatuskaThus the produced checksums are unique to a given pool,
4793ff01b23SMartin Matuskapreventing hash collision attacks on systems with dedup.
4801f1e2261SMartin Matuska.Pp
4811f1e2261SMartin Matuska.checksum-spiel edonr
4823ff01b23SMartin Matuska.
4833ff01b23SMartin Matuska.feature com.delphix embedded_data no
4843ff01b23SMartin MatuskaThis feature improves the performance and compression ratio of
4853ff01b23SMartin Matuskahighly-compressible blocks.
4863ff01b23SMartin MatuskaBlocks whose contents can compress to 112 bytes
4873ff01b23SMartin Matuskaor smaller can take advantage of this feature.
4883ff01b23SMartin Matuska.Pp
4893ff01b23SMartin MatuskaWhen this feature is enabled, the contents of highly-compressible blocks are
490a0b956f5SMartin Matuskastored in the block
491a0b956f5SMartin Matuska.Dq pointer
492a0b956f5SMartin Matuskaitself
493a0b956f5SMartin Matuska.Po a misnomer in this case, as it contains
494a0b956f5SMartin Matuskathe compressed data, rather than a pointer to its location on disk
495a0b956f5SMartin Matuska.Pc .
496a0b956f5SMartin MatuskaThus the space of the block
497a0b956f5SMartin Matuska.Pq one sector, typically 512 B or 4 KiB
498a0b956f5SMartin Matuskais saved, and no additional I/O is needed to read and write the data block.
4993ff01b23SMartin Matuska.
5003ff01b23SMartin Matuska\*[instant-never]
5013ff01b23SMartin Matuska.
5023ff01b23SMartin Matuska.feature com.delphix empty_bpobj yes
5033ff01b23SMartin MatuskaThis feature increases the performance of creating and using a large
5043ff01b23SMartin Matuskanumber of snapshots of a single filesystem or volume, and also reduces
5053ff01b23SMartin Matuskathe disk space required.
5063ff01b23SMartin Matuska.Pp
5073ff01b23SMartin MatuskaWhen there are many snapshots, each snapshot uses many Block Pointer
508a0b956f5SMartin MatuskaObjects
509a0b956f5SMartin Matuska.Pq bpobjs
510a0b956f5SMartin Matuskato track blocks associated with that snapshot.
5113ff01b23SMartin MatuskaHowever, in common use cases, most of these bpobjs are empty.
5123ff01b23SMartin MatuskaThis feature allows us to create each bpobj on-demand,
5133ff01b23SMartin Matuskathus eliminating the empty bpobjs.
5143ff01b23SMartin Matuska.Pp
5153ff01b23SMartin MatuskaThis feature is
5163ff01b23SMartin Matuska.Sy active
5173ff01b23SMartin Matuskawhile there are any filesystems, volumes,
5183ff01b23SMartin Matuskaor snapshots which were created after enabling this feature.
5193ff01b23SMartin Matuska.
5203ff01b23SMartin Matuska.feature com.delphix enabled_txg yes
5213ff01b23SMartin MatuskaOnce this feature is enabled, ZFS records the transaction group number
5223ff01b23SMartin Matuskain which new features are enabled.
5233ff01b23SMartin MatuskaThis has no user-visible impact, but other features may depend on this feature.
5243ff01b23SMartin Matuska.Pp
5253ff01b23SMartin MatuskaThis feature becomes
5263ff01b23SMartin Matuska.Sy active
527c03c5b1cSMartin Matuskaas soon as it is enabled and will never return to being
5283ff01b23SMartin Matuska.Sy enabled .
5293ff01b23SMartin Matuska.
5303ff01b23SMartin Matuska.feature com.datto encryption no bookmark_v2 extensible_dataset
5313ff01b23SMartin MatuskaThis feature enables the creation and management of natively encrypted datasets.
5323ff01b23SMartin Matuska.Pp
5333ff01b23SMartin MatuskaThis feature becomes
5343ff01b23SMartin Matuska.Sy active
5353ff01b23SMartin Matuskawhen an encrypted dataset is created and will be returned to the
5363ff01b23SMartin Matuska.Sy enabled
5373ff01b23SMartin Matuskastate when all datasets that use this feature are destroyed.
5383ff01b23SMartin Matuska.
5393ff01b23SMartin Matuska.feature com.delphix extensible_dataset no
5403ff01b23SMartin MatuskaThis feature allows more flexible use of internal ZFS data structures,
5413ff01b23SMartin Matuskaand exists for other features to depend on.
5423ff01b23SMartin Matuska.Pp
5433ff01b23SMartin MatuskaThis feature will be
5443ff01b23SMartin Matuska.Sy active
5453ff01b23SMartin Matuskawhen the first dependent feature uses it, and will be returned to the
5463ff01b23SMartin Matuska.Sy enabled
5473ff01b23SMartin Matuskastate when all datasets that use this feature are destroyed.
5483ff01b23SMartin Matuska.
5493ff01b23SMartin Matuska.feature com.joyent filesystem_limits yes extensible_dataset
5503ff01b23SMartin MatuskaThis feature enables filesystem and snapshot limits.
5513ff01b23SMartin MatuskaThese limits can be used to control how many filesystems and/or snapshots
5523ff01b23SMartin Matuskacan be created at the point in the tree on which the limits are set.
5533ff01b23SMartin Matuska.Pp
5543ff01b23SMartin MatuskaThis feature is
5553ff01b23SMartin Matuska.Sy active
556c03c5b1cSMartin Matuskaonce either of the limit properties has been set on a dataset
557c03c5b1cSMartin Matuskaand will never return to being
558c03c5b1cSMartin Matuska.Sy enabled .
5593ff01b23SMartin Matuska.
560716fd348SMartin Matuska.feature com.delphix head_errlog no
561716fd348SMartin MatuskaThis feature enables the upgraded version of errlog, which required an on-disk
562716fd348SMartin Matuskaerror log format change.
563716fd348SMartin MatuskaNow the error log of each head dataset is stored separately in the zap object
564716fd348SMartin Matuskaand keyed by the head id.
56508aba0aeSMartin MatuskaIn case of encrypted filesystems with unloaded keys or unmounted encrypted
56608aba0aeSMartin Matuskafilesystems we are unable to check their snapshots or clones for errors and
56708aba0aeSMartin Matuskathese will not be reported.
568*2a58b312SMartin MatuskaIn this case no filenames will be reported either.
569716fd348SMartin MatuskaWith this feature enabled, every dataset affected by an error block is listed
570716fd348SMartin Matuskain the output of
571716fd348SMartin Matuska.Nm zpool Cm status .
572716fd348SMartin Matuska.Pp
573716fd348SMartin Matuska\*[instant-never]
574716fd348SMartin Matuska.
5753ff01b23SMartin Matuska.feature com.delphix hole_birth no enabled_txg
5763ff01b23SMartin MatuskaThis feature has/had bugs, the result of which is that, if you do a
5773ff01b23SMartin Matuska.Nm zfs Cm send Fl i
5783ff01b23SMartin Matuska.Pq or Fl R , No since it uses Fl i
5793ff01b23SMartin Matuskafrom an affected dataset, the receiving party will not see any checksum
5803ff01b23SMartin Matuskaor other errors, but the resulting destination snapshot
5813ff01b23SMartin Matuskawill not match the source.
5823ff01b23SMartin MatuskaIts use by
5833ff01b23SMartin Matuska.Nm zfs Cm send Fl i
5843ff01b23SMartin Matuskahas been disabled by default
585a0b956f5SMartin Matuska.Po
586a0b956f5SMartin Matuskasee
587a0b956f5SMartin Matuska.Sy send_holes_without_birth_time
588a0b956f5SMartin Matuskain
589a0b956f5SMartin Matuska.Xr zfs 4
590a0b956f5SMartin Matuska.Pc .
5913ff01b23SMartin Matuska.Pp
5923ff01b23SMartin MatuskaThis feature improves performance of incremental sends
5933ff01b23SMartin Matuska.Pq Nm zfs Cm send Fl i
5943ff01b23SMartin Matuskaand receives for objects with many holes.
5953ff01b23SMartin MatuskaThe most common case of hole-filled objects is zvols.
5963ff01b23SMartin Matuska.Pp
5973ff01b23SMartin MatuskaAn incremental send stream from snapshot
5983ff01b23SMartin Matuska.Sy A No to snapshot Sy B
5993ff01b23SMartin Matuskacontains information about every block that changed between
6003ff01b23SMartin Matuska.Sy A No and Sy B .
6013ff01b23SMartin MatuskaBlocks which did not change between those snapshots can be
6023ff01b23SMartin Matuskaidentified and omitted from the stream using a piece of metadata called
603a0b956f5SMartin Matuskathe
604a0b956f5SMartin Matuska.Dq block birth time ,
605a0b956f5SMartin Matuskabut birth times are not recorded for holes
606a0b956f5SMartin Matuska.Pq blocks filled only with zeroes .
6073ff01b23SMartin MatuskaSince holes created after
6083ff01b23SMartin Matuska.Sy A No cannot be distinguished from holes created before Sy A ,
6093ff01b23SMartin Matuskainformation about every hole in the entire filesystem or zvol
6103ff01b23SMartin Matuskais included in the send stream.
6113ff01b23SMartin Matuska.Pp
6123ff01b23SMartin MatuskaFor workloads where holes are rare this is not a problem.
6133ff01b23SMartin MatuskaHowever, when incrementally replicating filesystems or zvols with many holes
614a0b956f5SMartin Matuska.Pq for example a zvol formatted with another filesystem
615a0b956f5SMartin Matuskaa lot of time will be spent sending and receiving unnecessary information
616a0b956f5SMartin Matuskaabout holes that already exist on the receiving side.
6173ff01b23SMartin Matuska.Pp
6183ff01b23SMartin MatuskaOnce the
6193ff01b23SMartin Matuska.Sy hole_birth
6203ff01b23SMartin Matuskafeature has been enabled the block birth times
6213ff01b23SMartin Matuskaof all new holes will be recorded.
6223ff01b23SMartin MatuskaIncremental sends between snapshots created after this feature is enabled
6233ff01b23SMartin Matuskawill use this new metadata to avoid sending information about holes that
6243ff01b23SMartin Matuskaalready exist on the receiving side.
6253ff01b23SMartin Matuska.Pp
6263ff01b23SMartin Matuska\*[instant-never]
6273ff01b23SMartin Matuska.
6283ff01b23SMartin Matuska.feature org.open-zfs large_blocks no extensible_dataset
629716fd348SMartin MatuskaThis feature allows the record size on a dataset to be set larger than 128 KiB.
6303ff01b23SMartin Matuska.Pp
6313ff01b23SMartin MatuskaThis feature becomes
6323ff01b23SMartin Matuska.Sy active
633716fd348SMartin Matuskaonce a dataset contains a file with a block size larger than 128 KiB,
6343ff01b23SMartin Matuskaand will return to being
6353ff01b23SMartin Matuska.Sy enabled
636716fd348SMartin Matuskaonce all filesystems that have ever had their recordsize larger than 128 KiB
6373ff01b23SMartin Matuskaare destroyed.
6383ff01b23SMartin Matuska.
6393ff01b23SMartin Matuska.feature org.zfsonlinux large_dnode no extensible_dataset
6403ff01b23SMartin MatuskaThis feature allows the size of dnodes in a dataset to be set larger than 512 B.
6413ff01b23SMartin Matuska.
6423ff01b23SMartin MatuskaThis feature becomes
6433ff01b23SMartin Matuska.Sy active
6443ff01b23SMartin Matuskaonce a dataset contains an object with a dnode larger than 512 B,
6453ff01b23SMartin Matuskawhich occurs as a result of setting the
6463ff01b23SMartin Matuska.Sy dnodesize
6473ff01b23SMartin Matuskadataset property to a value other than
6483ff01b23SMartin Matuska.Sy legacy .
6493ff01b23SMartin MatuskaThe feature will return to being
6503ff01b23SMartin Matuska.Sy enabled
6513ff01b23SMartin Matuskaonce all filesystems that have ever contained a dnode larger than 512 B
6523ff01b23SMartin Matuskaare destroyed.
6533ff01b23SMartin MatuskaLarge dnodes allow more data to be stored in the bonus buffer,
6543ff01b23SMartin Matuskathus potentially improving performance by avoiding the use of spill blocks.
6553ff01b23SMartin Matuska.
6563ff01b23SMartin Matuska.feature com.delphix livelist yes
6573ff01b23SMartin MatuskaThis feature allows clones to be deleted faster than the traditional method
6583ff01b23SMartin Matuskawhen a large number of random/sparse writes have been made to the clone.
6593ff01b23SMartin MatuskaAll blocks allocated and freed after a clone is created are tracked by the
6603ff01b23SMartin Matuskathe clone's livelist which is referenced during the deletion of the clone.
6613ff01b23SMartin MatuskaThe feature is activated when a clone is created and remains
6623ff01b23SMartin Matuska.Sy active
6633ff01b23SMartin Matuskauntil all clones have been destroyed.
6643ff01b23SMartin Matuska.
6653ff01b23SMartin Matuska.feature com.delphix log_spacemap yes com.delphix:spacemap_v2
6663ff01b23SMartin MatuskaThis feature improves performance for heavily-fragmented pools,
6673ff01b23SMartin Matuskaespecially when workloads are heavy in random-writes.
6683ff01b23SMartin MatuskaIt does so by logging all the metaslab changes on a single spacemap every TXG
6693ff01b23SMartin Matuskainstead of scattering multiple writes to all the metaslab spacemaps.
6703ff01b23SMartin Matuska.Pp
6713ff01b23SMartin Matuska\*[instant-never]
6723ff01b23SMartin Matuska.
6733ff01b23SMartin Matuska.feature org.illumos lz4_compress no
6743ff01b23SMartin Matuska.Sy lz4
6753ff01b23SMartin Matuskais a high-performance real-time compression algorithm that
6763ff01b23SMartin Matuskafeatures significantly faster compression and decompression as well as a
6773ff01b23SMartin Matuskahigher compression ratio than the older
6783ff01b23SMartin Matuska.Sy lzjb
6793ff01b23SMartin Matuskacompression.
6803ff01b23SMartin MatuskaTypically,
6813ff01b23SMartin Matuska.Sy lz4
6823ff01b23SMartin Matuskacompression is approximately 50% faster on compressible data and 200% faster
6833ff01b23SMartin Matuskaon incompressible data than
6843ff01b23SMartin Matuska.Sy lzjb .
6853ff01b23SMartin MatuskaIt is also approximately 80% faster on decompression,
6863ff01b23SMartin Matuskawhile giving approximately a 10% better compression ratio.
6873ff01b23SMartin Matuska.Pp
6883ff01b23SMartin MatuskaWhen the
6893ff01b23SMartin Matuska.Sy lz4_compress
6903ff01b23SMartin Matuskafeature is set to
6913ff01b23SMartin Matuska.Sy enabled ,
6923ff01b23SMartin Matuskathe administrator can turn on
6933ff01b23SMartin Matuska.Sy lz4
6943ff01b23SMartin Matuskacompression on any dataset on the pool using the
6953ff01b23SMartin Matuska.Xr zfs-set 8
6963ff01b23SMartin Matuskacommand.
6973ff01b23SMartin MatuskaAll newly written metadata will be compressed with the
6983ff01b23SMartin Matuska.Sy lz4
6993ff01b23SMartin Matuskaalgorithm.
7003ff01b23SMartin Matuska.Pp
7013ff01b23SMartin Matuska\*[instant-never]
7023ff01b23SMartin Matuska.
7033ff01b23SMartin Matuska.feature com.joyent multi_vdev_crash_dump no
7043ff01b23SMartin MatuskaThis feature allows a dump device to be configured with a pool comprised
7053ff01b23SMartin Matuskaof multiple vdevs.
7063ff01b23SMartin MatuskaThose vdevs may be arranged in any mirrored or raidz configuration.
7073ff01b23SMartin Matuska.Pp
7083ff01b23SMartin MatuskaWhen the
7093ff01b23SMartin Matuska.Sy multi_vdev_crash_dump
7103ff01b23SMartin Matuskafeature is set to
7113ff01b23SMartin Matuska.Sy enabled ,
7123ff01b23SMartin Matuskathe administrator can use
713a0b956f5SMartin Matuska.Xr dumpadm 8
7143ff01b23SMartin Matuskato configure a dump device on a pool comprised of multiple vdevs.
7153ff01b23SMartin Matuska.Pp
7163ff01b23SMartin MatuskaUnder
7173ff01b23SMartin Matuska.Fx
7183ff01b23SMartin Matuskaand Linux this feature is unused, but registered for compatibility.
7193ff01b23SMartin MatuskaNew pools created on these systems will have the feature
7203ff01b23SMartin Matuska.Sy enabled
7213ff01b23SMartin Matuskabut will never transition to
7223ff01b23SMartin Matuska.Sy active ,
7233ff01b23SMartin Matuskaas this functionality is not required for crash dump support.
7243ff01b23SMartin MatuskaExisting pools where this feature is
7253ff01b23SMartin Matuska.Sy active
7263ff01b23SMartin Matuskacan be imported.
7273ff01b23SMartin Matuska.
7283ff01b23SMartin Matuska.feature com.delphix obsolete_counts yes device_removal
7293ff01b23SMartin MatuskaThis feature is an enhancement of
7303ff01b23SMartin Matuska.Sy device_removal ,
7313ff01b23SMartin Matuskawhich will over time reduce the memory used to track removed devices.
7323ff01b23SMartin MatuskaWhen indirect blocks are freed or remapped,
733a0b956f5SMartin Matuskawe note that their part of the indirect mapping is
734a0b956f5SMartin Matuska.Dq obsolete
735a0b956f5SMartin Matuska– no longer needed.
7363ff01b23SMartin Matuska.Pp
7373ff01b23SMartin MatuskaThis feature becomes
7383ff01b23SMartin Matuska.Sy active
7393ff01b23SMartin Matuskawhen the
7403ff01b23SMartin Matuska.Nm zpool Cm remove
7413ff01b23SMartin Matuskacommand is used on a top-level vdev, and will never return to being
7423ff01b23SMartin Matuska.Sy enabled .
7433ff01b23SMartin Matuska.
7443ff01b23SMartin Matuska.feature org.zfsonlinux project_quota yes extensible_dataset
7453ff01b23SMartin MatuskaThis feature allows administrators to account the spaces and objects usage
746a0b956f5SMartin Matuskainformation against the project identifier
747a0b956f5SMartin Matuska.Pq ID .
7483ff01b23SMartin Matuska.Pp
7493ff01b23SMartin MatuskaThe project ID is an object-based attribute.
7503ff01b23SMartin MatuskaWhen upgrading an existing filesystem,
7513ff01b23SMartin Matuskaobjects without a project ID will be assigned a zero project ID.
7523ff01b23SMartin MatuskaWhen this feature is enabled, newly created objects inherit
7533ff01b23SMartin Matuskatheir parent directories' project ID if the parent's inherit flag is set
7543ff01b23SMartin Matuska.Pq via Nm chattr Sy [+-]P No or Nm zfs Cm project Fl s Ns | Ns Fl C .
7553ff01b23SMartin MatuskaOtherwise, the new object's project ID will be zero.
7563ff01b23SMartin MatuskaAn object's project ID can be changed at any time by the owner
757a0b956f5SMartin Matuska.Pq or privileged user
758a0b956f5SMartin Matuskavia
7593ff01b23SMartin Matuska.Nm chattr Fl p Ar prjid
7603ff01b23SMartin Matuskaor
7613ff01b23SMartin Matuska.Nm zfs Cm project Fl p Ar prjid .
7623ff01b23SMartin Matuska.Pp
7633ff01b23SMartin MatuskaThis feature will become
7643ff01b23SMartin Matuska.Sy active
7653ff01b23SMartin Matuskaas soon as it is enabled and will never return to being
7663ff01b23SMartin Matuska.Sy disabled .
7673ff01b23SMartin Matuska\*[remount-upgrade]
7683ff01b23SMartin Matuska.
7693ff01b23SMartin Matuska.feature com.delphix redaction_bookmarks no bookmarks extensible_dataset
7703ff01b23SMartin MatuskaThis feature enables the use of redacted
7713ff01b23SMartin Matuska.Nm zfs Cm send Ns s ,
7723ff01b23SMartin Matuskawhich create redaction bookmarks storing the list of blocks
7733ff01b23SMartin Matuskaredacted by the send that created them.
7743ff01b23SMartin MatuskaFor more information about redacted sends, see
7753ff01b23SMartin Matuska.Xr zfs-send 8 .
7763ff01b23SMartin Matuska.
7773ff01b23SMartin Matuska.feature com.delphix redacted_datasets no extensible_dataset
7783ff01b23SMartin MatuskaThis feature enables the receiving of redacted
779c03c5b1cSMartin Matuska.Nm zfs Cm send
780c03c5b1cSMartin Matuskastreams, which create redacted datasets when received.
7813ff01b23SMartin MatuskaThese datasets are missing some of their blocks,
7823ff01b23SMartin Matuskaand so cannot be safely mounted, and their contents cannot be safely read.
7833ff01b23SMartin MatuskaFor more information about redacted receives, see
7843ff01b23SMartin Matuska.Xr zfs-send 8 .
7853ff01b23SMartin Matuska.
7863ff01b23SMartin Matuska.feature com.datto resilver_defer yes
7873ff01b23SMartin MatuskaThis feature allows ZFS to postpone new resilvers if an existing one is already
7883ff01b23SMartin Matuskain progress.
7893ff01b23SMartin MatuskaWithout this feature, any new resilvers will cause the currently
7903ff01b23SMartin Matuskarunning one to be immediately restarted from the beginning.
7913ff01b23SMartin Matuska.Pp
7923ff01b23SMartin MatuskaThis feature becomes
7933ff01b23SMartin Matuska.Sy active
7943ff01b23SMartin Matuskaonce a resilver has been deferred, and returns to being
7953ff01b23SMartin Matuska.Sy enabled
7963ff01b23SMartin Matuskawhen the deferred resilver begins.
7973ff01b23SMartin Matuska.
7983ff01b23SMartin Matuska.feature org.illumos sha512 no extensible_dataset
7993ff01b23SMartin MatuskaThis feature enables the use of the SHA-512/256 truncated hash algorithm
800a0b956f5SMartin Matuska.Pq FIPS 180-4
801a0b956f5SMartin Matuskafor checksum and dedup.
8023ff01b23SMartin MatuskaThe native 64-bit arithmetic of SHA-512 provides an approximate 50%
8033ff01b23SMartin Matuskaperformance boost over SHA-256 on 64-bit hardware
8043ff01b23SMartin Matuskaand is thus a good minimum-change replacement candidate
8053ff01b23SMartin Matuskafor systems where hash performance is important,
8063ff01b23SMartin Matuskabut these systems cannot for whatever reason utilize the faster
8073ff01b23SMartin Matuska.Sy skein No and Sy edonr
8083ff01b23SMartin Matuskaalgorithms.
8093ff01b23SMartin Matuska.Pp
8103ff01b23SMartin Matuska.checksum-spiel sha512
8113ff01b23SMartin Matuska.
8123ff01b23SMartin Matuska.feature org.illumos skein no extensible_dataset
8133ff01b23SMartin MatuskaThis feature enables the use of the Skein hash algorithm for checksum and dedup.
8143ff01b23SMartin MatuskaSkein is a high-performance secure hash algorithm that was a
8153ff01b23SMartin Matuskafinalist in the NIST SHA-3 competition.
8163ff01b23SMartin MatuskaIt provides a very high security margin and high performance on 64-bit hardware
817a0b956f5SMartin Matuska.Pq 80% faster than SHA-256 .
8183ff01b23SMartin MatuskaThis implementation also utilizes the new salted checksumming
8193ff01b23SMartin Matuskafunctionality in ZFS, which means that the checksum is pre-seeded with a
820a0b956f5SMartin Matuskasecret 256-bit random key
821a0b956f5SMartin Matuska.Pq stored on the pool
822a0b956f5SMartin Matuskabefore being fed the data block to be checksummed.
8233ff01b23SMartin MatuskaThus the produced checksums are unique to a given pool,
8243ff01b23SMartin Matuskapreventing hash collision attacks on systems with dedup.
8253ff01b23SMartin Matuska.Pp
8263ff01b23SMartin Matuska.checksum-spiel skein
8273ff01b23SMartin Matuska.
8283ff01b23SMartin Matuska.feature com.delphix spacemap_histogram yes
8293ff01b23SMartin MatuskaThis features allows ZFS to maintain more information about how free space
8303ff01b23SMartin Matuskais organized within the pool.
8313ff01b23SMartin MatuskaIf this feature is
8323ff01b23SMartin Matuska.Sy enabled ,
8333ff01b23SMartin Matuskait will be activated when a new space map object is created, or
8343ff01b23SMartin Matuskaan existing space map is upgraded to the new format,
8353ff01b23SMartin Matuskaand never returns back to being
8363ff01b23SMartin Matuska.Sy enabled .
8373ff01b23SMartin Matuska.
8383ff01b23SMartin Matuska.feature com.delphix spacemap_v2 yes
8393ff01b23SMartin MatuskaThis feature enables the use of the new space map encoding which
840a0b956f5SMartin Matuskaconsists of two words
841a0b956f5SMartin Matuska.Pq instead of one
842a0b956f5SMartin Matuskawhenever it is advantageous.
8433ff01b23SMartin MatuskaThe new encoding allows space maps to represent large regions of
8443ff01b23SMartin Matuskaspace more efficiently on-disk while also increasing their maximum
8453ff01b23SMartin Matuskaaddressable offset.
8463ff01b23SMartin Matuska.Pp
8473ff01b23SMartin MatuskaThis feature becomes
8483ff01b23SMartin Matuska.Sy active
8493ff01b23SMartin Matuskaonce it is
8503ff01b23SMartin Matuska.Sy enabled ,
8513ff01b23SMartin Matuskaand never returns back to being
8523ff01b23SMartin Matuska.Sy enabled .
8533ff01b23SMartin Matuska.
8543ff01b23SMartin Matuska.feature org.zfsonlinux userobj_accounting yes extensible_dataset
8553ff01b23SMartin MatuskaThis feature allows administrators to account the object usage information
8563ff01b23SMartin Matuskaby user and group.
8573ff01b23SMartin Matuska.Pp
8583ff01b23SMartin Matuska\*[instant-never]
8593ff01b23SMartin Matuska\*[remount-upgrade]
8603ff01b23SMartin Matuska.
861c03c5b1cSMartin Matuska.feature org.openzfs zilsaxattr yes extensible_dataset
862c03c5b1cSMartin MatuskaThis feature enables
863c03c5b1cSMartin Matuska.Sy xattr Ns = Ns Sy sa
864c03c5b1cSMartin Matuskaextended attribute logging in the ZIL.
865c03c5b1cSMartin MatuskaIf enabled, extended attribute changes
866c03c5b1cSMartin Matuska.Pq both Sy xattrdir Ns = Ns Sy dir No and Sy xattr Ns = Ns Sy sa
867c03c5b1cSMartin Matuskaare guaranteed to be durable if either the dataset had
868c03c5b1cSMartin Matuska.Sy sync Ns = Ns Sy always
869c03c5b1cSMartin Matuskaset at the time the changes were made, or
870c03c5b1cSMartin Matuska.Xr sync 2
871c03c5b1cSMartin Matuskais called on the dataset after the changes were made.
872c03c5b1cSMartin Matuska.Pp
873c03c5b1cSMartin MatuskaThis feature becomes
874c03c5b1cSMartin Matuska.Sy active
875c03c5b1cSMartin Matuskawhen a ZIL is created for at least one dataset and will be returned to the
876c03c5b1cSMartin Matuska.Sy enabled
877c03c5b1cSMartin Matuskastate when it is destroyed for all datasets that use this feature.
878c03c5b1cSMartin Matuska.
8793ff01b23SMartin Matuska.feature com.delphix zpool_checkpoint yes
8803ff01b23SMartin MatuskaThis feature enables the
8813ff01b23SMartin Matuska.Nm zpool Cm checkpoint
8823ff01b23SMartin Matuskacommand that can checkpoint the state of the pool
8833ff01b23SMartin Matuskaat the time it was issued and later rewind back to it or discard it.
8843ff01b23SMartin Matuska.Pp
8853ff01b23SMartin MatuskaThis feature becomes
8863ff01b23SMartin Matuska.Sy active
8873ff01b23SMartin Matuskawhen the
8883ff01b23SMartin Matuska.Nm zpool Cm checkpoint
8893ff01b23SMartin Matuskacommand is used to checkpoint the pool.
8903ff01b23SMartin MatuskaThe feature will only return back to being
8913ff01b23SMartin Matuska.Sy enabled
8923ff01b23SMartin Matuskawhen the pool is rewound or the checkpoint has been discarded.
8933ff01b23SMartin Matuska.
8943ff01b23SMartin Matuska.feature org.freebsd zstd_compress no extensible_dataset
8953ff01b23SMartin Matuska.Sy zstd
8963ff01b23SMartin Matuskais a high-performance compression algorithm that features a
8973ff01b23SMartin Matuskacombination of high compression ratios and high speed.
8983ff01b23SMartin MatuskaCompared to
8993ff01b23SMartin Matuska.Sy gzip ,
9003ff01b23SMartin Matuska.Sy zstd
9013ff01b23SMartin Matuskaoffers slightly better compression at much higher speeds.
9023ff01b23SMartin MatuskaCompared to
9033ff01b23SMartin Matuska.Sy lz4 ,
9043ff01b23SMartin Matuska.Sy zstd
9053ff01b23SMartin Matuskaoffers much better compression while being only modestly slower.
9063ff01b23SMartin MatuskaTypically,
9073ff01b23SMartin Matuska.Sy zstd
9083ff01b23SMartin Matuskacompression speed ranges from 250 to 500 MB/s per thread
9093ff01b23SMartin Matuskaand decompression speed is over 1 GB/s per thread.
9103ff01b23SMartin Matuska.Pp
9113ff01b23SMartin MatuskaWhen the
9123ff01b23SMartin Matuska.Sy zstd
9133ff01b23SMartin Matuskafeature is set to
9143ff01b23SMartin Matuska.Sy enabled ,
9153ff01b23SMartin Matuskathe administrator can turn on
9163ff01b23SMartin Matuska.Sy zstd
9173ff01b23SMartin Matuskacompression of any dataset using
9183ff01b23SMartin Matuska.Nm zfs Cm set Sy compress Ns = Ns Sy zstd Ar dset
9193ff01b23SMartin Matuska.Po see Xr zfs-set 8 Pc .
9203ff01b23SMartin MatuskaThis feature becomes
9213ff01b23SMartin Matuska.Sy active
9223ff01b23SMartin Matuskaonce a
9233ff01b23SMartin Matuska.Sy compress
9243ff01b23SMartin Matuskaproperty has been set to
9253ff01b23SMartin Matuska.Sy zstd ,
9263ff01b23SMartin Matuskaand will return to being
9273ff01b23SMartin Matuska.Sy enabled
9283ff01b23SMartin Matuskaonce all filesystems that have ever had their
9293ff01b23SMartin Matuska.Sy compress
9303ff01b23SMartin Matuskaproperty set to
9313ff01b23SMartin Matuska.Sy zstd
9323ff01b23SMartin Matuskaare destroyed.
9333ff01b23SMartin Matuska.El
9343ff01b23SMartin Matuska.
9353ff01b23SMartin Matuska.Sh SEE ALSO
936a0b956f5SMartin Matuska.Xr zfs 8 ,
9373ff01b23SMartin Matuska.Xr zpool 8
938