1.\" SPDX-License-Identifier: CDDL-1.0 2.\" 3.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. 4.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved. 5.\" Copyright (c) 2014, Joyent, Inc. All rights reserved. 6.\" The contents of this file are subject to the terms of the Common Development 7.\" and Distribution License (the "License"). You may not use this file except 8.\" in compliance with the License. You can obtain a copy of the license at 9.\" usr/src/OPENSOLARIS.LICENSE or https://opensource.org/licenses/CDDL-1.0. 10.\" 11.\" See the License for the specific language governing permissions and 12.\" limitations under the License. When distributing Covered Code, include this 13.\" CDDL HEADER in each file and include the License file at 14.\" usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this 15.\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your 16.\" own identifying information: 17.\" Portions Copyright [yyyy] [name of copyright owner] 18.\" Copyright (c) 2019, 2023, 2024, Klara, Inc. 19.\" Copyright (c) 2019, Allan Jude 20.\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org> 21.\" 22.Dd October 2, 2024 23.Dt ZPOOL-FEATURES 7 24.Os 25. 26.Sh NAME 27.Nm zpool-features 28.Nd description of ZFS pool features 29. 30.Sh DESCRIPTION 31ZFS pool on-disk format versions are specified via 32.Dq features 33which replace the old on-disk format numbers 34.Pq the last supported on-disk format number is 28 . 35To enable a feature on a pool use the 36.Nm zpool Cm upgrade , 37or set the 38.Sy feature Ns @ Ns Ar feature-name 39property to 40.Sy enabled . 41Please also see the 42.Sx Compatibility feature sets 43section for information on how sets of features may be enabled together. 44.Pp 45The pool format does not affect file system version compatibility or the ability 46to send file systems between pools. 47.Pp 48Since most features can be enabled independently of each other, the on-disk 49format of the pool is specified by the set of all features marked as 50.Sy active 51on the pool. 52If the pool was created by another software version 53this set may include unsupported features. 54. 55.Ss Identifying features 56Every feature has a GUID of the form 57.Ar com.example : Ns Ar feature-name . 58The reversed DNS name ensures that the feature's GUID is unique across all ZFS 59implementations. 60When unsupported features are encountered on a pool they will 61be identified by their GUIDs. 62Refer to the documentation for the ZFS 63implementation that created the pool for information about those features. 64.Pp 65Each supported feature also has a short name. 66By convention a feature's short name is the portion of its GUID which follows 67the 68.Sq \&: 69.Po 70i.e. 71.Ar com.example : Ns Ar feature-name 72would have the short name 73.Ar feature-name 74.Pc , 75however a feature's short name may differ across ZFS implementations if 76following the convention would result in name conflicts. 77. 78.Ss Feature states 79Features can be in one of three states: 80.Bl -tag -width "disabled" 81.It Sy active 82This feature's on-disk format changes are in effect on the pool. 83Support for this feature is required to import the pool in read-write mode. 84If this feature is not read-only compatible, 85support is also required to import the pool in read-only mode 86.Pq see Sx Read-only compatibility . 87.It Sy enabled 88An administrator has marked this feature as enabled on the pool, but the 89feature's on-disk format changes have not been made yet. 90The pool can still be imported by software that does not support this feature, 91but changes may be made to the on-disk format at any time 92which will move the feature to the 93.Sy active 94state. 95Some features may support returning to the 96.Sy enabled 97state after becoming 98.Sy active . 99See feature-specific documentation for details. 100.It Sy disabled 101This feature's on-disk format changes have not been made and will not be made 102unless an administrator moves the feature to the 103.Sy enabled 104state. 105Features cannot be disabled once they have been enabled. 106.El 107.Pp 108The state of supported features is exposed through pool properties of the form 109.Sy feature Ns @ Ns Ar short-name . 110. 111.Ss Read-only compatibility 112Some features may make on-disk format changes that do not interfere with other 113software's ability to read from the pool. 114These features are referred to as 115.Dq read-only compatible . 116If all unsupported features on a pool are read-only compatible, 117the pool can be imported in read-only mode by setting the 118.Sy readonly 119property during import 120.Po see 121.Xr zpool-import 8 122for details on importing pools 123.Pc . 124. 125.Ss Unsupported features 126For each unsupported feature enabled on an imported pool, a pool property 127named 128.Sy unsupported Ns @ Ns Ar feature-name 129will indicate why the import was allowed despite the unsupported feature. 130Possible values for this property are: 131.Bl -tag -width "readonly" 132.It Sy inactive 133The feature is in the 134.Sy enabled 135state and therefore the pool's on-disk 136format is still compatible with software that does not support this feature. 137.It Sy readonly 138The feature is read-only compatible and the pool has been imported in 139read-only mode. 140.El 141. 142.Ss Feature dependencies 143Some features depend on other features being enabled in order to function. 144Enabling a feature will automatically enable any features it depends on. 145. 146.Ss Compatibility feature sets 147It is sometimes necessary for a pool to maintain compatibility with a 148specific on-disk format, by enabling and disabling particular features. 149The 150.Sy compatibility 151feature facilitates this by allowing feature sets to be read from text files. 152When set to 153.Sy off 154.Pq the default , 155compatibility feature sets are disabled 156.Pq i.e. all features are enabled ; 157when set to 158.Sy legacy , 159no features are enabled. 160When set to a comma-separated list of filenames 161.Po 162each filename may either be an absolute path, or relative to 163.Pa /etc/zfs/compatibility.d 164or 165.Pa /usr/share/zfs/compatibility.d 166.Pc , 167the lists of requested features are read from those files, 168separated by whitespace and/or commas. 169Only features present in all files are enabled. 170.Pp 171Simple sanity checks are applied to the files: 172they must be between 1 B and 16 KiB in size, and must end with a newline 173character. 174.Pp 175The requested features are applied when a pool is created using 176.Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar … 177and controls which features are enabled when using 178.Nm zpool Cm upgrade . 179.Nm zpool Cm status 180will not show a warning about disabled features which are not part 181of the requested feature set. 182.Pp 183The special value 184.Sy legacy 185prevents any features from being enabled, either via 186.Nm zpool Cm upgrade 187or 188.Nm zpool Cm set Sy feature Ns @ Ns Ar feature-name Ns = Ns Sy enabled . 189This setting also prevents pools from being upgraded to newer on-disk versions. 190This is a safety measure to prevent new features from being 191accidentally enabled, breaking compatibility. 192.Pp 193By convention, compatibility files in 194.Pa /usr/share/zfs/compatibility.d 195are provided by the distribution, and include feature sets 196supported by important versions of popular distributions, and feature 197sets commonly supported at the start of each year. 198Compatibility files in 199.Pa /etc/zfs/compatibility.d , 200if present, will take precedence over files with the same name in 201.Pa /usr/share/zfs/compatibility.d . 202.Pp 203If an unrecognized feature is found in these files, an error message will 204be shown. 205If the unrecognized feature is in a file in 206.Pa /etc/zfs/compatibility.d , 207this is treated as an error and processing will stop. 208If the unrecognized feature is under 209.Pa /usr/share/zfs/compatibility.d , 210this is treated as a warning and processing will continue. 211This difference is to allow distributions to include features 212which might not be recognized by the currently-installed binaries. 213.Pp 214Compatibility files may include comments: 215any text from 216.Sq # 217to the end of the line is ignored. 218.Pp 219.Sy Example : 220.Bd -literal -compact -offset 4n 221.No example# Nm cat Pa /usr/share/zfs/compatibility.d/grub2 222# Features which are supported by GRUB2 versions from v2.12 onwards. 223allocation_classes 224async_destroy 225block_cloning 226bookmarks 227device_rebuild 228embedded_data 229empty_bpobj 230enabled_txg 231extensible_dataset 232filesystem_limits 233hole_birth 234large_blocks 235livelist 236log_spacemap 237lz4_compress 238project_quota 239resilver_defer 240spacemap_histogram 241spacemap_v2 242userobj_accounting 243zilsaxattr 244zpool_checkpoint 245 246.No example# Nm cat Pa /usr/share/zfs/compatibility.d/grub2-2.06 247# Features which are supported by GRUB2 versions prior to v2.12. 248# 249# GRUB is not able to detect ZFS pool if snapshot of top level boot pool 250# is created. This issue is observed with GRUB versions before v2.12 if 251# extensible_dataset feature is enabled on ZFS boot pool. 252# 253# This file lists all read-only compatible features except 254# extensible_dataset and any other feature that depends on it. 255# 256allocation_classes 257async_destroy 258block_cloning 259device_rebuild 260embedded_data 261empty_bpobj 262enabled_txg 263hole_birth 264log_spacemap 265lz4_compress 266resilver_defer 267spacemap_histogram 268spacemap_v2 269zpool_checkpoint 270 271.No example# Nm zpool Cm create Fl o Sy compatibility Ns = Ns Ar grub2 Ar bootpool Ar vdev 272.Ed 273.Pp 274See 275.Xr zpool-create 8 276and 277.Xr zpool-upgrade 8 278for more information on how these commands are affected by feature sets. 279. 280.de feature 281.It Sy \\$2 282.Bl -tag -compact -width "READ-ONLY COMPATIBLE" 283.It GUID 284.Sy \\$1:\\$2 285.if !"\\$4"" \{\ 286.It DEPENDENCIES 287\fB\\$4\fP\c 288.if !"\\$5"" , \fB\\$5\fP\c 289.if !"\\$6"" , \fB\\$6\fP\c 290.if !"\\$7"" , \fB\\$7\fP\c 291.if !"\\$8"" , \fB\\$8\fP\c 292.if !"\\$9"" , \fB\\$9\fP\c 293.\} 294.It READ-ONLY COMPATIBLE 295\\$3 296.El 297.Pp 298.. 299. 300.ds instant-never \ 301.No This feature becomes Sy active No as soon as it is enabled \ 302and will never return to being Sy enabled . 303. 304.ds remount-upgrade \ 305.No Each filesystem will be upgraded automatically when remounted, \ 306or when a new file is created under that filesystem. \ 307The upgrade can also be triggered on filesystems via \ 308Nm zfs Cm set Sy version Ns = Ns Sy current Ar fs . \ 309No The upgrade process runs in the background and may take a while to complete \ 310for filesystems containing large amounts of files . 311. 312.de checksum-spiel 313When the 314.Sy \\$1 315feature is set to 316.Sy enabled , 317the administrator can turn on the 318.Sy \\$1 319checksum on any dataset using 320.Nm zfs Cm set Sy checksum Ns = Ns Sy \\$1 Ar dset 321.Po see Xr zfs-set 8 Pc . 322This feature becomes 323.Sy active 324once a 325.Sy checksum 326property has been set to 327.Sy \\$1 , 328and will return to being 329.Sy enabled 330once all filesystems that have ever had their checksum set to 331.Sy \\$1 332are destroyed. 333.. 334. 335.Sh FEATURES 336The following features are supported on this system: 337.Bl -tag -width Ds 338.feature org.zfsonlinux allocation_classes yes 339This feature enables support for separate allocation classes. 340.Pp 341This feature becomes 342.Sy active 343when a dedicated allocation class vdev 344.Pq dedup or special 345is created with the 346.Nm zpool Cm create No or Nm zpool Cm add No commands . 347With device removal, it can be returned to the 348.Sy enabled 349state if all the dedicated allocation class vdevs are removed. 350. 351.feature com.delphix async_destroy yes 352Destroying a file system requires traversing all of its data in order to 353return its used space to the pool. 354Without 355.Sy async_destroy , 356the file system is not fully removed until all space has been reclaimed. 357If the destroy operation is interrupted by a reboot or power outage, 358the next attempt to open the pool will need to complete the destroy 359operation synchronously. 360.Pp 361When 362.Sy async_destroy 363is enabled, the file system's data will be reclaimed by a background process, 364allowing the destroy operation to complete 365without traversing the entire file system. 366The background process is able to resume 367interrupted destroys after the pool has been opened, eliminating the need 368to finish interrupted destroys as part of the open operation. 369The amount of space remaining to be reclaimed by the background process 370is available through the 371.Sy freeing 372property. 373.Pp 374This feature is only 375.Sy active 376while 377.Sy freeing 378is non-zero. 379. 380.feature org.openzfs blake3 no extensible_dataset 381This feature enables the use of the BLAKE3 hash algorithm for checksum and 382dedup. 383BLAKE3 is a secure hash algorithm focused on high performance. 384.Pp 385.checksum-spiel blake3 386. 387.feature com.fudosecurity block_cloning yes 388When this feature is enabled ZFS will use block cloning for operations like 389.Fn copy_file_range 2 . 390Block cloning allows to create multiple references to a single block. 391It is much faster than copying the data (as the actual data is neither read nor 392written) and takes no additional space. 393Blocks can be cloned across datasets under some conditions (like equal 394.Nm recordsize , 395the same master encryption key, etc.). 396ZFS tries its best to clone across datasets including encrypted ones. 397This is limited for various (nontrivial) reasons depending on the OS 398and/or ZFS internals. 399.Pp 400This feature becomes 401.Sy active 402when first block is cloned. 403When the last cloned block is freed, it goes back to the enabled state. 404.feature com.truenas block_cloning_endian yes 405This feature corrects ZAP entry endianness issues in the Block Reference 406Table (BRT) used by block cloning. 407During the original block cloning implementation, BRT ZAP entries were 408mistakenly stored as arrays of 8 single-byte entries instead of single 4098-byte entries, making pools non-endian-safe. 410.Pp 411This feature is activated when the first BRT ZAP is created (that way 412ensuring compatibility with existing pools). 413When active, new BRT entries are stored in the correct endian-safe format. 414The feature becomes inactive when all BRT ZAPs are destroyed. 415.feature com.delphix bookmarks yes extensible_dataset 416This feature enables use of the 417.Nm zfs Cm bookmark 418command. 419.Pp 420This feature is 421.Sy active 422while any bookmarks exist in the pool. 423All bookmarks in the pool can be listed by running 424.Nm zfs Cm list Fl t Sy bookmark Fl r Ar poolname . 425. 426.feature com.datto bookmark_v2 no bookmark extensible_dataset 427This feature enables the creation and management of larger bookmarks which are 428needed for other features in ZFS. 429.Pp 430This feature becomes 431.Sy active 432when a v2 bookmark is created and will be returned to the 433.Sy enabled 434state when all v2 bookmarks are destroyed. 435. 436.feature com.delphix bookmark_written no bookmark extensible_dataset bookmark_v2 437This feature enables additional bookmark accounting fields, enabling the 438.Sy written Ns # Ns Ar bookmark 439property 440.Pq space written since a bookmark 441and estimates of send stream sizes for incrementals from bookmarks. 442.Pp 443This feature becomes 444.Sy active 445when a bookmark is created and will be 446returned to the 447.Sy enabled 448state when all bookmarks with these fields are destroyed. 449. 450.feature org.openzfs device_rebuild yes 451This feature enables the ability for the 452.Nm zpool Cm attach 453and 454.Nm zpool Cm replace 455commands to perform sequential reconstruction 456.Pq instead of healing reconstruction 457when resilvering. 458.Pp 459Sequential reconstruction resilvers a device in LBA order without immediately 460verifying the checksums. 461Once complete, a scrub is started, which then verifies the checksums. 462This approach allows full redundancy to be restored to the pool 463in the minimum amount of time. 464This two-phase approach will take longer than a healing resilver 465when the time to verify the checksums is included. 466However, unless there is additional pool damage, 467no checksum errors should be reported by the scrub. 468This feature is incompatible with raidz configurations. 469. 470This feature becomes 471.Sy active 472while a sequential resilver is in progress, and returns to 473.Sy enabled 474when the resilver completes. 475. 476.feature com.delphix device_removal no 477This feature enables the 478.Nm zpool Cm remove 479command to remove top-level vdevs, 480evacuating them to reduce the total size of the pool. 481.Pp 482This feature becomes 483.Sy active 484when the 485.Nm zpool Cm remove 486command is used 487on a top-level vdev, and will never return to being 488.Sy enabled . 489. 490.feature org.openzfs draid no 491This feature enables use of the 492.Sy draid 493vdev type. 494dRAID is a variant of RAID-Z which provides integrated distributed 495hot spares that allow faster resilvering while retaining the benefits of RAID-Z. 496Data, parity, and spare space are organized in redundancy groups 497and distributed evenly over all of the devices. 498.Pp 499This feature becomes 500.Sy active 501when creating a pool which uses the 502.Sy draid 503vdev type, or when adding a new 504.Sy draid 505vdev to an existing pool. 506. 507.feature com.klarasystems dynamic_gang_header no 508This feature enables larger gang headers based on the sector size of the pool. 509When enabled, gang headers will use the entire space allocated for them, instead 510of always restricting themselves to 512 bytes. 511This can reduce the need for nested gang trees in extreme fragmentation 512scenarios. 513.Pp 514This feature becomes active when a gang header is written that is larger than 515512 bytes. 516This feature is not enabled by 517.Xr zpool-upgrade 8 . 518Instead, it must be manually enabled, or be part of a compatibility file. 519. 520.feature org.illumos edonr no extensible_dataset 521This feature enables the use of the Edon-R hash algorithm for checksum, 522including for nopwrite 523.Po if compression is also enabled, an overwrite of 524a block whose checksum matches the data being written will be ignored 525.Pc . 526In an abundance of caution, Edon-R requires verification when used with 527dedup: 528.Nm zfs Cm set Sy dedup Ns = Ns Sy edonr , Ns Sy verify 529.Po see Xr zfs-set 8 Pc . 530.Pp 531Edon-R is a very high-performance hash algorithm that was part 532of the NIST SHA-3 competition. 533It provides extremely high hash performance 534.Pq over 350% faster than SHA-256 , 535but was not selected because of its unsuitability 536as a general purpose secure hash algorithm. 537This implementation utilizes the new salted checksumming functionality 538in ZFS, which means that the checksum is pre-seeded with a secret 539256-bit random key 540.Pq stored on the pool 541before being fed the data block to be checksummed. 542Thus the produced checksums are unique to a given pool, 543preventing hash collision attacks on systems with dedup. 544.Pp 545.checksum-spiel edonr 546. 547.feature com.delphix embedded_data no 548This feature improves the performance and compression ratio of 549highly-compressible blocks. 550Blocks whose contents can compress to 112 bytes 551or smaller can take advantage of this feature. 552.Pp 553When this feature is enabled, the contents of highly-compressible blocks are 554stored in the block 555.Dq pointer 556itself 557.Po a misnomer in this case, as it contains 558the compressed data, rather than a pointer to its location on disk 559.Pc . 560Thus the space of the block 561.Pq one sector, typically 512 B or 4 KiB 562is saved, and no additional I/O is needed to read and write the data block. 563. 564\*[instant-never] 565. 566.feature com.delphix empty_bpobj yes 567This feature increases the performance of creating and using a large 568number of snapshots of a single filesystem or volume, and also reduces 569the disk space required. 570.Pp 571When there are many snapshots, each snapshot uses many Block Pointer 572Objects 573.Pq bpobjs 574to track blocks associated with that snapshot. 575However, in common use cases, most of these bpobjs are empty. 576This feature allows us to create each bpobj on-demand, 577thus eliminating the empty bpobjs. 578.Pp 579This feature is 580.Sy active 581while there are any filesystems, volumes, 582or snapshots which were created after enabling this feature. 583. 584.feature com.delphix enabled_txg yes 585Once this feature is enabled, ZFS records the transaction group number 586in which new features are enabled. 587This has no user-visible impact, but other features may depend on this feature. 588.Pp 589This feature becomes 590.Sy active 591as soon as it is enabled and will never return to being 592.Sy enabled . 593. 594.feature com.datto encryption no bookmark_v2 extensible_dataset 595This feature enables the creation and management of natively encrypted datasets. 596.Pp 597This feature becomes 598.Sy active 599when an encrypted dataset is created and will be returned to the 600.Sy enabled 601state when all datasets that use this feature are destroyed. 602. 603.feature com.klarasystems fast_dedup yes 604This feature allows more advanced deduplication features to be enabled on new 605dedup tables. 606.Pp 607This feature will be 608.Sy active 609when the first deduplicated block is written after a new dedup table is created 610(i.e. after a new pool creation, or new checksum used on a dataset with 611.Sy dedup 612enabled). 613It will be returned to the 614.Sy enabled 615state when all deduplicated blocks using it are freed. 616. 617.feature com.delphix extensible_dataset no 618This feature allows more flexible use of internal ZFS data structures, 619and exists for other features to depend on. 620.Pp 621This feature will be 622.Sy active 623when the first dependent feature uses it, and will be returned to the 624.Sy enabled 625state when all datasets that use this feature are destroyed. 626. 627.feature com.joyent filesystem_limits yes extensible_dataset 628This feature enables filesystem and snapshot limits. 629These limits can be used to control how many filesystems and/or snapshots 630can be created at the point in the tree on which the limits are set. 631.Pp 632This feature is 633.Sy active 634once either of the limit properties has been set on a dataset 635and will never return to being 636.Sy enabled . 637. 638.feature com.delphix head_errlog no 639This feature enables the upgraded version of errlog, which required an on-disk 640error log format change. 641Now the error log of each head dataset is stored separately in the zap object 642and keyed by the head id. 643With this feature enabled, every dataset affected by an error block is listed 644in the output of 645.Nm zpool Cm status . 646In case of encrypted filesystems with unloaded keys we are unable to check 647their snapshots or clones for errors and these will not be reported. 648An "access denied" error will be reported. 649.Pp 650\*[instant-never] 651. 652.feature com.delphix hole_birth no enabled_txg 653This feature has/had bugs, the result of which is that, if you do a 654.Nm zfs Cm send Fl i 655.Pq or Fl R , No since it uses Fl i 656from an affected dataset, the receiving party will not see any checksum 657or other errors, but the resulting destination snapshot 658will not match the source. 659Its use by 660.Nm zfs Cm send Fl i 661has been disabled by default 662.Po 663see 664.Sy send_holes_without_birth_time 665in 666.Xr zfs 4 667.Pc . 668.Pp 669This feature improves performance of incremental sends 670.Pq Nm zfs Cm send Fl i 671and receives for objects with many holes. 672The most common case of hole-filled objects is zvols. 673.Pp 674An incremental send stream from snapshot 675.Sy A No to snapshot Sy B 676contains information about every block that changed between 677.Sy A No and Sy B . 678Blocks which did not change between those snapshots can be 679identified and omitted from the stream using a piece of metadata called 680the 681.Dq block birth time , 682but birth times are not recorded for holes 683.Pq blocks filled only with zeroes . 684Since holes created after 685.Sy A No cannot be distinguished from holes created before Sy A , 686information about every hole in the entire filesystem or zvol 687is included in the send stream. 688.Pp 689For workloads where holes are rare this is not a problem. 690However, when incrementally replicating filesystems or zvols with many holes 691.Pq for example a zvol formatted with another filesystem 692a lot of time will be spent sending and receiving unnecessary information 693about holes that already exist on the receiving side. 694.Pp 695Once the 696.Sy hole_birth 697feature has been enabled the block birth times 698of all new holes will be recorded. 699Incremental sends between snapshots created after this feature is enabled 700will use this new metadata to avoid sending information about holes that 701already exist on the receiving side. 702.Pp 703\*[instant-never] 704. 705.feature org.open-zfs large_blocks no extensible_dataset 706This feature allows the record size on a dataset to be set larger than 128 KiB. 707.Pp 708This feature becomes 709.Sy active 710once a dataset contains a file with a block size larger than 128 KiB, 711and will return to being 712.Sy enabled 713once all filesystems that have ever had their recordsize larger than 128 KiB 714are destroyed. 715. 716.feature org.zfsonlinux large_dnode no extensible_dataset 717This feature allows the size of dnodes in a dataset to be set larger than 512 B. 718. 719This feature becomes 720.Sy active 721once a dataset contains an object with a dnode larger than 512 B, 722which occurs as a result of setting the 723.Sy dnodesize 724dataset property to a value other than 725.Sy legacy . 726The feature will return to being 727.Sy enabled 728once all filesystems that have ever contained a dnode larger than 512 B 729are destroyed. 730Large dnodes allow more data to be stored in the bonus buffer, 731thus potentially improving performance by avoiding the use of spill blocks. 732. 733.feature com.klarasystems large_microzap yes extensible_dataset large_blocks 734This feature allows "micro" ZAPs to grow larger than 128 KiB without being 735upgraded to "fat" ZAPs. 736.Pp 737This feature becomes 738.Sy active 739the first time a micro ZAP grows larger than 128KiB. 740It will only be returned to the 741.Sy enabled 742state when all datasets that ever had a large micro ZAP are destroyed. 743.Pp 744Note that even when this feature is enabled, micro ZAPs cannot grow larger 745than 128 KiB without also changing the 746.Sy zap_micro_max_size 747module parameter. 748See 749.Xr zfs 4 . 750. 751.feature com.delphix livelist yes extensible_dataset 752This feature allows clones to be deleted faster than the traditional method 753when a large number of random/sparse writes have been made to the clone. 754All blocks allocated and freed after a clone is created are tracked by the 755the clone's livelist which is referenced during the deletion of the clone. 756The feature is activated when a clone is created and remains 757.Sy active 758until all clones have been destroyed. 759. 760.feature com.delphix log_spacemap yes com.delphix:spacemap_v2 761This feature improves performance for heavily-fragmented pools, 762especially when workloads are heavy in random-writes. 763It does so by logging all the metaslab changes on a single spacemap every TXG 764instead of scattering multiple writes to all the metaslab spacemaps. 765.Pp 766\*[instant-never] 767. 768.feature org.zfsonlinux longname no extensible_dataset 769This feature allows creating files and directories with name up to 1023 bytes 770in length. 771A new dataset property 772.Sy longname 773is also introduced to toggle longname support for each dataset individually. 774This property can be disabled even if it contains longname files. 775In such case, new file cannot be created with longname but existing longname 776files can still be looked up. 777.Pp 778This feature becomes 779.Sy active 780when a file name greater than 255 is created in a dataset, and returns to 781being 782.Sy enabled 783when all such datasets are destroyed. 784. 785.feature org.illumos lz4_compress no 786.Sy lz4 787is a high-performance real-time compression algorithm that 788features significantly faster compression and decompression as well as a 789higher compression ratio than the older 790.Sy lzjb 791compression. 792Typically, 793.Sy lz4 794compression is approximately 50% faster on compressible data and 200% faster 795on incompressible data than 796.Sy lzjb . 797It is also approximately 80% faster on decompression, 798while giving approximately a 10% better compression ratio. 799.Pp 800When the 801.Sy lz4_compress 802feature is set to 803.Sy enabled , 804the administrator can turn on 805.Sy lz4 806compression on any dataset on the pool using the 807.Xr zfs-set 8 808command. 809All newly written metadata will be compressed with the 810.Sy lz4 811algorithm. 812.Pp 813\*[instant-never] 814. 815.feature com.joyent multi_vdev_crash_dump no 816This feature allows a dump device to be configured with a pool comprised 817of multiple vdevs. 818Those vdevs may be arranged in any mirrored or raidz configuration. 819.Pp 820When the 821.Sy multi_vdev_crash_dump 822feature is set to 823.Sy enabled , 824the administrator can use 825.Xr dumpadm 8 826to configure a dump device on a pool comprised of multiple vdevs. 827.Pp 828Under 829.Fx 830and Linux this feature is unused, but registered for compatibility. 831New pools created on these systems will have the feature 832.Sy enabled 833but will never transition to 834.Sy active , 835as this functionality is not required for crash dump support. 836Existing pools where this feature is 837.Sy active 838can be imported. 839. 840.feature com.delphix obsolete_counts yes device_removal 841This feature is an enhancement of 842.Sy device_removal , 843which will over time reduce the memory used to track removed devices. 844When indirect blocks are freed or remapped, 845we note that their part of the indirect mapping is 846.Dq obsolete 847– no longer needed. 848.Pp 849This feature becomes 850.Sy active 851when the 852.Nm zpool Cm remove 853command is used on a top-level vdev, and will never return to being 854.Sy enabled . 855. 856.feature com.truenas physical_rewrite yes extensible_dataset 857This feature enables physical block rewriting that preserves logical birth 858times, avoiding unnecessary inclusion of rewritten blocks in incremental 859.Nm zfs Cm send 860streams. 861When enabled, the 862.Nm zfs Cm rewrite Fl P 863command can be used. 864.Pp 865This feature becomes 866.Sy active 867the first time 868.Nm zfs Cm rewrite Fl P 869is used on any dataset, and will return to being 870.Sy enabled 871once all datasets that have ever used physical rewrite are destroyed. 872. 873.feature org.zfsonlinux project_quota yes extensible_dataset 874This feature allows administrators to account the spaces and objects usage 875information against the project identifier 876.Pq ID . 877.Pp 878The project ID is an object-based attribute. 879When upgrading an existing filesystem, 880objects without a project ID will be assigned a zero project ID. 881When this feature is enabled, newly created objects inherit 882their parent directories' project ID if the parent's inherit flag is set 883.Pq via Nm chattr Sy [+-]P No or Nm zfs Cm project Fl s Ns | Ns Fl C . 884Otherwise, the new object's project ID will be zero. 885An object's project ID can be changed at any time by the owner 886.Pq or privileged user 887via 888.Nm chattr Fl p Ar prjid 889or 890.Nm zfs Cm project Fl p Ar prjid . 891.Pp 892This feature will become 893.Sy active 894as soon as it is enabled and will never return to being 895.Sy disabled . 896\*[remount-upgrade] 897. 898.feature org.openzfs raidz_expansion no none 899This feature enables the 900.Nm zpool Cm attach 901subcommand to attach a new device to a RAID-Z group, expanding the total 902amount usable space in the pool. 903See 904.Xr zpool-attach 8 . 905. 906.feature com.delphix redaction_bookmarks no bookmarks extensible_dataset 907This feature enables the use of redacted 908.Nm zfs Cm send Ns s , 909which create redaction bookmarks storing the list of blocks 910redacted by the send that created them. 911For more information about redacted sends, see 912.Xr zfs-send 8 . 913. 914.feature com.delphix redacted_datasets no extensible_dataset 915This feature enables the receiving of redacted 916.Nm zfs Cm send 917streams, which create redacted datasets when received. 918These datasets are missing some of their blocks, 919and so cannot be safely mounted, and their contents cannot be safely read. 920For more information about redacted receives, see 921.Xr zfs-send 8 . 922. 923.feature com.delphix redaction_list_spill no redaction_bookmarks 924This feature enables the redaction list created by zfs redact to store 925many more entries. 926It becomes 927.Sy active 928when a redaction list is created with more than 36 entries, 929and returns to being 930.Sy enabled 931when no long redaction lists remain in the pool. 932For more information about redacted sends, see 933.Xr zfs-send 8 . 934. 935.feature com.datto resilver_defer yes 936This feature allows ZFS to postpone new resilvers if an existing one is already 937in progress. 938Without this feature, any new resilvers will cause the currently 939running one to be immediately restarted from the beginning. 940.Pp 941This feature becomes 942.Sy active 943once a resilver has been deferred, and returns to being 944.Sy enabled 945when the deferred resilver begins. 946. 947.feature org.illumos sha512 no extensible_dataset 948This feature enables the use of the SHA-512/256 truncated hash algorithm 949.Pq FIPS 180-4 950for checksum and dedup. 951The native 64-bit arithmetic of SHA-512 provides an approximate 50% 952performance boost over SHA-256 on 64-bit hardware 953and is thus a good minimum-change replacement candidate 954for systems where hash performance is important, 955but these systems cannot for whatever reason utilize the faster 956.Sy skein No and Sy edonr 957algorithms. 958.Pp 959.checksum-spiel sha512 960. 961.feature org.illumos skein no extensible_dataset 962This feature enables the use of the Skein hash algorithm for checksum and dedup. 963Skein is a high-performance secure hash algorithm that was a 964finalist in the NIST SHA-3 competition. 965It provides a very high security margin and high performance on 64-bit hardware 966.Pq 80% faster than SHA-256 . 967This implementation also utilizes the new salted checksumming 968functionality in ZFS, which means that the checksum is pre-seeded with a 969secret 256-bit random key 970.Pq stored on the pool 971before being fed the data block to be checksummed. 972Thus the produced checksums are unique to a given pool, 973preventing hash collision attacks on systems with dedup. 974.Pp 975.checksum-spiel skein 976. 977.feature com.delphix spacemap_histogram yes 978This features allows ZFS to maintain more information about how free space 979is organized within the pool. 980If this feature is 981.Sy enabled , 982it will be activated when a new space map object is created, or 983an existing space map is upgraded to the new format, 984and never returns back to being 985.Sy enabled . 986. 987.feature com.delphix spacemap_v2 yes 988This feature enables the use of the new space map encoding which 989consists of two words 990.Pq instead of one 991whenever it is advantageous. 992The new encoding allows space maps to represent large regions of 993space more efficiently on-disk while also increasing their maximum 994addressable offset. 995.Pp 996This feature becomes 997.Sy active 998once it is 999.Sy enabled , 1000and never returns back to being 1001.Sy enabled . 1002. 1003.feature org.zfsonlinux userobj_accounting yes extensible_dataset 1004This feature allows administrators to account the object usage information 1005by user and group. 1006.Pp 1007\*[instant-never] 1008\*[remount-upgrade] 1009. 1010.feature com.klarasystems vdev_zaps_v2 no 1011This feature creates a ZAP object for the root vdev. 1012.Pp 1013This feature becomes active after the next 1014.Nm zpool Cm import 1015or 1016.Nm zpool reguid . 1017. 1018Properties can be retrieved or set on the root vdev using 1019.Nm zpool Cm get 1020and 1021.Nm zpool Cm set 1022with 1023.Sy root 1024as the vdev name which is an alias for 1025.Sy root-0 . 1026.feature org.openzfs zilsaxattr yes extensible_dataset 1027This feature enables 1028.Sy xattr Ns = Ns Sy sa 1029extended attribute logging in the ZIL. 1030If enabled, extended attribute changes 1031.Pq both Sy xattrdir Ns = Ns Sy dir No and Sy xattr Ns = Ns Sy sa 1032are guaranteed to be durable if either the dataset had 1033.Sy sync Ns = Ns Sy always 1034set at the time the changes were made, or 1035.Xr sync 2 1036is called on the dataset after the changes were made. 1037.Pp 1038This feature becomes 1039.Sy active 1040when a ZIL is created for at least one dataset and will be returned to the 1041.Sy enabled 1042state when it is destroyed for all datasets that use this feature. 1043. 1044.feature com.delphix zpool_checkpoint yes 1045This feature enables the 1046.Nm zpool Cm checkpoint 1047command that can checkpoint the state of the pool 1048at the time it was issued and later rewind back to it or discard it. 1049.Pp 1050This feature becomes 1051.Sy active 1052when the 1053.Nm zpool Cm checkpoint 1054command is used to checkpoint the pool. 1055The feature will only return back to being 1056.Sy enabled 1057when the pool is rewound or the checkpoint has been discarded. 1058. 1059.feature org.freebsd zstd_compress no extensible_dataset 1060.Sy zstd 1061is a high-performance compression algorithm that features a 1062combination of high compression ratios and high speed. 1063Compared to 1064.Sy gzip , 1065.Sy zstd 1066offers slightly better compression at much higher speeds. 1067Compared to 1068.Sy lz4 , 1069.Sy zstd 1070offers much better compression while being only modestly slower. 1071Typically, 1072.Sy zstd 1073compression speed ranges from 250 to 500 MB/s per thread 1074and decompression speed is over 1 GB/s per thread. 1075.Pp 1076When the 1077.Sy zstd 1078feature is set to 1079.Sy enabled , 1080the administrator can turn on 1081.Sy zstd 1082compression of any dataset using 1083.Nm zfs Cm set Sy compress Ns = Ns Sy zstd Ar dset 1084.Po see Xr zfs-set 8 Pc . 1085This feature becomes 1086.Sy active 1087once a 1088.Sy compress 1089property has been set to 1090.Sy zstd , 1091and will return to being 1092.Sy enabled 1093once all filesystems that have ever had their 1094.Sy compress 1095property set to 1096.Sy zstd 1097are destroyed. 1098.El 1099. 1100.Sh SEE ALSO 1101.Xr zfs 8 , 1102.Xr zpool 8 1103