]> git.proxmox.com Git - mirror_zfs.git/blame - man/man5/zpool-features.5
OpenZFS 9442 - decrease indirect block size of spacemaps
[mirror_zfs.git] / man / man5 / zpool-features.5
CommitLineData
9ae529ec 1'\" te
d2734cce 2.\" Copyright (c) 2013, 2017 by Delphix. All rights reserved.
9759c60f 3.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
788eb90c 4.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
9ae529ec
CS
5.\" The contents of this file are subject to the terms of the Common Development
6.\" and Distribution License (the "License"). You may not use this file except
7.\" in compliance with the License. You can obtain a copy of the license at
8.\" usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
9.\"
10.\" See the License for the specific language governing permissions and
11.\" limitations under the License. When distributing Covered Code, include this
12.\" CDDL HEADER in each file and include the License file at
13.\" usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this
14.\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your
15.\" own identifying information:
16.\" Portions Copyright [yyyy] [name of copyright owner]
93cf2076 17.TH ZPOOL-FEATURES 5 "Aug 27, 2013"
9ae529ec
CS
18.SH NAME
19zpool\-features \- ZFS pool feature descriptions
20.SH DESCRIPTION
21.sp
22.LP
23ZFS pool on\-disk format versions are specified via "features" which replace
24the old on\-disk format numbers (the last supported on\-disk format number is
b9b24bb4 2528). To enable a feature on a pool use the \fBupgrade\fR subcommand of the
a3177028 26\fBzpool\fR(8) command, or set the \fBfeature@\fR\fIfeature_name\fR property
b9b24bb4 27to \fBenabled\fR.
9ae529ec
CS
28.sp
29.LP
30The pool format does not affect file system version compatibility or the ability
31to send file systems between pools.
32.sp
33.LP
34Since most features can be enabled independently of each other the on\-disk
35format of the pool is specified by the set of all features marked as
36\fBactive\fR on the pool. If the pool was created by another software version
37this set may include unsupported features.
38.SS "Identifying features"
39.sp
40.LP
41Every feature has a guid of the form \fIcom.example:feature_name\fR. The reverse
42DNS name ensures that the feature's guid is unique across all ZFS
43implementations. When unsupported features are encountered on a pool they will
44be identified by their guids. Refer to the documentation for the ZFS
45implementation that created the pool for information about those features.
46.sp
47.LP
48Each supported feature also has a short name. By convention a feature's short
49name is the portion of its guid which follows the ':' (e.g.
50\fIcom.example:feature_name\fR would have the short name \fIfeature_name\fR),
51however a feature's short name may differ across ZFS implementations if
52following the convention would result in name conflicts.
53.SS "Feature states"
54.sp
55.LP
56Features can be in one of three states:
57.sp
58.ne 2
59.na
60\fB\fBactive\fR\fR
61.ad
62.RS 12n
63This feature's on\-disk format changes are in effect on the pool. Support for
64this feature is required to import the pool in read\-write mode. If this
65feature is not read-only compatible, support is also required to import the pool
66in read\-only mode (see "Read\-only compatibility").
67.RE
68
69.sp
70.ne 2
71.na
72\fB\fBenabled\fR\fR
73.ad
74.RS 12n
75An administrator has marked this feature as enabled on the pool, but the
76feature's on\-disk format changes have not been made yet. The pool can still be
77imported by software that does not support this feature, but changes may be made
78to the on\-disk format at any time which will move the feature to the
79\fBactive\fR state. Some features may support returning to the \fBenabled\fR
80state after becoming \fBactive\fR. See feature\-specific documentation for
81details.
82.RE
83
84.sp
85.ne 2
86.na
87\fBdisabled\fR
88.ad
89.RS 12n
90This feature's on\-disk format changes have not been made and will not be made
91unless an administrator moves the feature to the \fBenabled\fR state. Features
92cannot be disabled once they have been enabled.
93.RE
94
95.sp
96.LP
97The state of supported features is exposed through pool properties of the form
98\fIfeature@short_name\fR.
99.SS "Read\-only compatibility"
100.sp
101.LP
102Some features may make on\-disk format changes that do not interfere with other
103software's ability to read from the pool. These features are referred to as
104"read\-only compatible". If all unsupported features on a pool are read\-only
105compatible, the pool can be imported in read\-only mode by setting the
a3177028 106\fBreadonly\fR property during import (see \fBzpool\fR(8) for details on
9ae529ec
CS
107importing pools).
108.SS "Unsupported features"
109.sp
110.LP
111For each unsupported feature enabled on an imported pool a pool property
112named \fIunsupported@feature_guid\fR will indicate why the import was allowed
113despite the unsupported feature. Possible values for this property are:
114
115.sp
116.ne 2
117.na
118\fB\fBinactive\fR\fR
119.ad
120.RS 12n
121The feature is in the \fBenabled\fR state and therefore the pool's on\-disk
122format is still compatible with software that does not support this feature.
123.RE
124
125.sp
126.ne 2
127.na
128\fB\fBreadonly\fR\fR
129.ad
130.RS 12n
131The feature is read\-only compatible and the pool has been imported in
132read\-only mode.
133.RE
134
135.SS "Feature dependencies"
136.sp
137.LP
138Some features depend on other features being enabled in order to function
139properly. Enabling a feature will automatically enable any features it
140depends on.
141.SH FEATURES
142.sp
143.LP
144The following features are supported on this system:
145.sp
146.ne 2
147.na
148\fB\fBasync_destroy\fR\fR
149.ad
150.RS 4n
151.TS
152l l .
153GUID com.delphix:async_destroy
154READ\-ONLY COMPATIBLE yes
155DEPENDENCIES none
156.TE
157
158Destroying a file system requires traversing all of its data in order to
159return its used space to the pool. Without \fBasync_destroy\fR the file system
160is not fully removed until all space has been reclaimed. If the destroy
161operation is interrupted by a reboot or power outage the next attempt to open
162the pool will need to complete the destroy operation synchronously.
163
164When \fBasync_destroy\fR is enabled the file system's data will be reclaimed
165by a background process, allowing the destroy operation to complete without
166traversing the entire file system. The background process is able to resume
167interrupted destroys after the pool has been opened, eliminating the need
168to finish interrupted destroys as part of the open operation. The amount
169of space remaining to be reclaimed by the background process is available
170through the \fBfreeing\fR property.
171
172This feature is only \fBactive\fR while \fBfreeing\fR is non\-zero.
173.RE
753c3839
MA
174
175.sp
176.ne 2
177.na
178\fB\fBempty_bpobj\fR\fR
179.ad
180.RS 4n
181.TS
182l l .
183GUID com.delphix:empty_bpobj
184READ\-ONLY COMPATIBLE yes
185DEPENDENCIES none
186.TE
187
188This feature increases the performance of creating and using a large
189number of snapshots of a single filesystem or volume, and also reduces
190the disk space required.
191
192When there are many snapshots, each snapshot uses many Block Pointer
193Objects (bpobj's) to track blocks associated with that snapshot.
194However, in common use cases, most of these bpobj's are empty. This
195feature allows us to create each bpobj on-demand, thus eliminating the
196empty bpobjs.
197
198This feature is \fBactive\fR while there are any filesystems, volumes,
199or snapshots which were created after enabling this feature.
200.RE
201
788eb90c
JJ
202.sp
203.ne 2
204.na
205\fB\fBfilesystem_limits\fR\fR
206.ad
207.RS 4n
208.TS
209l l .
210GUID com.joyent:filesystem_limits
211READ\-ONLY COMPATIBLE yes
212DEPENDENCIES extensible_dataset
213.TE
214
215This feature enables filesystem and snapshot limits. These limits can be used
216to control how many filesystems and/or snapshots can be created at the point in
217the tree on which the limits are set.
218
219This feature is \fBactive\fR once either of the limit properties has been
220set on a dataset. Once activated the feature is never deactivated.
221.RE
222
9759c60f
ED
223.sp
224.ne 2
225.na
226\fB\fBlz4_compress\fR\fR
227.ad
228.RS 4n
229.TS
230l l .
231GUID org.illumos:lz4_compress
232READ\-ONLY COMPATIBLE no
233DEPENDENCIES none
234.TE
235
236\fBlz4\fR is a high-performance real-time compression algorithm that
237features significantly faster compression and decompression as well as a
238higher compression ratio than the older \fBlzjb\fR compression.
239Typically, \fBlz4\fR compression is approximately 50% faster on
240compressible data and 200% faster on incompressible data than
241\fBlzjb\fR. It is also approximately 80% faster on decompression, while
242giving approximately 10% better compression ratio.
243
244When the \fBlz4_compress\fR feature is set to \fBenabled\fR, the
245administrator can turn on \fBlz4\fR compression on any dataset on the
a3177028 246pool using the \fBzfs\fR(8) command. Please note that doing so will
9759c60f 247immediately activate the \fBlz4_compress\fR feature on the underlying
62bdd5eb
DL
248pool using the \fBzfs\fR(1M) command. Also, all newly written metadata
249will be compressed with \fBlz4\fR algorithm. Since this feature is not
250read-only compatible, this operation will render the pool unimportable
251on systems without support for the \fBlz4_compress\fR feature. Booting
252off of \fBlz4\fR-compressed root pools is supported.
253
254This feature becomes \fBactive\fR as soon as it is enabled and will
255never return to being \fBenabled\fB.
93cf2076
GW
256.RE
257
258.sp
259.ne 2
260.na
261\fB\fBspacemap_histogram\fR\fR
262.ad
263.RS 4n
264.TS
265l l .
266GUID com.delphix:spacemap_histogram
267READ\-ONLY COMPATIBLE yes
268DEPENDENCIES none
269.TE
270
271This features allows ZFS to maintain more information about how free space
272is organized within the pool. If this feature is \fBenabled\fR, ZFS will
273set this feature to \fBactive\fR when a new space map object is created or
274an existing space map is upgraded to the new format. Once the feature is
275\fBactive\fR, it will remain in that state until the pool is destroyed.
9759c60f
ED
276
277.RE
278
42db43e9
GDN
279.sp
280.ne 2
281.na
282\fB\fBmulti_vdev_crash_dump\fR\fR
283.ad
284.RS 4n
285.TS
286l l .
287GUID com.joyent:multi_vdev_crash_dump
288READ\-ONLY COMPATIBLE no
289DEPENDENCIES none
290.TE
291
292This feature allows a dump device to be configured with a pool comprised
293of multiple vdevs. Those vdevs may be arranged in any mirrored or raidz
294configuration.
295
296When the \fBmulti_vdev_crash_dump\fR feature is set to \fBenabled\fR,
297the administrator can use the \fBdumpadm\fR(1M) command to configure a
298dump device on a pool comprised of multiple vdevs.
299
300Under Linux this feature is registered for compatibility but not used.
301New pools created under Linux will have the feature \fBenabled\fR but
302will never transition to \fB\fBactive\fR. This functionality is not
303required in order to support crash dumps under Linux. Existing pools
304where this feature is \fB\fBactive\fR can be imported.
305.RE
306
fa86b5db
MA
307.sp
308.ne 2
309.na
310\fB\fBextensible_dataset\fR\fR
311.ad
312.RS 4n
313.TS
314l l .
315GUID com.delphix:extensible_dataset
316READ\-ONLY COMPATIBLE no
317DEPENDENCIES none
318.TE
319
320This feature allows more flexible use of internal ZFS data structures,
321and exists for other features to depend on.
322
323This feature will be \fBactive\fR when the first dependent feature uses it,
324and will be returned to the \fBenabled\fR state when all datasets that use
325this feature are destroyed.
326
327.RE
328
da536844
MA
329.sp
330.ne 2
331.na
332\fB\fBbookmarks\fR\fR
333.ad
334.RS 4n
335.TS
336l l .
337GUID com.delphix:bookmarks
338READ\-ONLY COMPATIBLE yes
339DEPENDENCIES extensible_dataset
340.TE
341
342This feature enables use of the \fBzfs bookmark\fR subcommand.
343
344This feature is \fBactive\fR while any bookmarks exist in the pool.
345All bookmarks in the pool can be listed by running
346\fBzfs list -t bookmark -r \fIpoolname\fR\fR.
347
348.RE
349
b0bc7a84
MG
350.sp
351.ne 2
352.na
353\fB\fBenabled_txg\fR\fR
354.ad
355.RS 4n
356.TS
357l l .
358GUID com.delphix:enabled_txg
359READ\-ONLY COMPATIBLE yes
360DEPENDENCIES none
361.TE
362
363Once this feature is enabled ZFS records the transaction group number
364in which new features are enabled. This has no user-visible impact,
365but other features may depend on this feature.
366
367This feature becomes \fBactive\fR as soon as it is enabled and will
368never return to being \fBenabled\fB.
369
370.RE
371
372.sp
373.ne 2
374.na
375\fB\fBhole_birth\fR\fR
376.ad
377.RS 4n
378.TS
379l l .
380GUID com.delphix:hole_birth
381READ\-ONLY COMPATIBLE no
382DEPENDENCIES enabled_txg
383.TE
384
385This feature improves performance of incremental sends ("zfs send -i")
386and receives for objects with many holes. The most common case of
387hole-filled objects is zvols.
388
389An incremental send stream from snapshot \fBA\fR to snapshot \fBB\fR
390contains information about every block that changed between \fBA\fR and
391\fBB\fR. Blocks which did not change between those snapshots can be
392identified and omitted from the stream using a piece of metadata called
393the 'block birth time', but birth times are not recorded for holes (blocks
394filled only with zeroes). Since holes created after \fBA\fR cannot be
395distinguished from holes created before \fBA\fR, information about every
396hole in the entire filesystem or zvol is included in the send stream.
397
398For workloads where holes are rare this is not a problem. However, when
399incrementally replicating filesystems or zvols with many holes (for
400example a zvol formatted with another filesystem) a lot of time will
401be spent sending and receiving unnecessary information about holes that
402already exist on the receiving side.
403
404Once the \fBhole_birth\fR feature has been enabled the block birth times
405of all new holes will be recorded. Incremental sends between snapshots
406created after this feature is enabled will use this new metadata to avoid
407sending information about holes that already exist on the receiving side.
408
409This feature becomes \fBactive\fR as soon as it is enabled and will
410never return to being \fBenabled\fB.
411
412.RE
413
9b67f605
MA
414.sp
415.ne 2
416.na
417\fB\fBembedded_data\fR\fR
418.ad
419.RS 4n
420.TS
421l l .
422GUID com.delphix:embedded_data
423READ\-ONLY COMPATIBLE no
424DEPENDENCIES none
425.TE
426
427This feature improves the performance and compression ratio of
428highly-compressible blocks. Blocks whose contents can compress to 112 bytes
429or smaller can take advantage of this feature.
430
431When this feature is enabled, the contents of highly-compressible blocks are
432stored in the block "pointer" itself (a misnomer in this case, as it contains
6b4e21c6 433the compressed data, rather than a pointer to its location on disk). Thus
9b67f605
MA
434the space of the block (one sector, typically 512 bytes or 4KB) is saved,
435and no additional i/o is needed to read and write the data block.
436
437This feature becomes \fBactive\fR as soon as it is enabled and will
438never return to being \fBenabled\fR.
439
440.RE
a1d477c2
MA
441.sp
442.ne 2
443.na
444\fB\fBdevice_removal\fR\fR
445.ad
446.RS 4n
447.TS
448l l .
449GUID com.delphix:device_removal
450READ\-ONLY COMPATIBLE no
451DEPENDENCIES none
452.TE
453
454This feature enables the "zpool remove" subcommand to remove top-level
455vdevs, evacuating them to reduce the total size of the pool.
456
457This feature becomes \fBactive\fR when the "zpool remove" command is used
458on a top-level vdev, and will never return to being \fBenabled\fR.
459
460.RE
461.sp
462.ne 2
463.na
464\fB\fBobsolete_counts\fR\fR
465.ad
466.RS 4n
467.TS
468l l .
469GUID com.delphix:obsolete_counts
470READ\-ONLY COMPATIBLE yes
471DEPENDENCIES device_removal
472.TE
b0bc7a84 473
a1d477c2
MA
474This feature is an enhancement of device_removal, which will over time
475reduce the memory used to track removed devices. When indirect blocks
476are freed or remapped, we note that their part of the indirect mapping
477is "obsolete", i.e. no longer needed. See also the \fBzfs remap\fR
478subcommand in \fBzfs\fR(1M).
479
480This feature becomes \fBactive\fR when the "zpool remove" command is
481used on a top-level vdev, and will never return to being \fBenabled\fR.
482
483.RE
f1512ee6
MA
484.sp
485.ne 2
486.na
d2734cce
SD
487\fB\fBzpool_checkpoint\fR\fR
488.ad
489.RS 4n
490.TS
491l l .
492GUID com.delphix:zpool_checkpoint
493READ\-ONLY COMPATIBLE yes
494DEPENDENCIES none
495.TE
496
497This feature enables the "zpool checkpoint" subcommand that can
498checkpoint the state of the pool at the time it was issued and later
499rewind back to it or discard it.
500
501This feature becomes \fBactive\fR when the "zpool checkpoint" command
502is used to checkpoint the pool.
503The feature will only return back to being \fBenabled\fR when the pool
504is rewound or the checkpoint has been discarded.
3be1eb29 505
4d044c4c
SD
506.RE
507.sp
508.ne 2
509.na
510\fB\fBspacemap_v2\fR\fR
511.ad
512.RS 4n
513.TS
514l l .
515GUID com.delphix:spacemap_v2
516READ\-ONLY COMPATIBLE yes
517DEPENDENCIES none
518.TE
519
520This feature enables the use of the new space map encoding which
521consists of two words (instead of one) whenever it is advantageous.
522The new encoding allows space maps to represent large regions of
523space more efficiently on-disk while also increasing their maximum
524addressable offset.
525
526This feature becomes \fBactive\fR once it is \fBenabled\fR, and never
527returns back to being \fBenabled\fR.
528
3be1eb29
TC
529.RE
530.sp
531.ne 2
532.na
f1512ee6
MA
533\fB\fBlarge_blocks\fR\fR
534.ad
535.RS 4n
536.TS
537l l .
538GUID org.open-zfs:large_block
539READ\-ONLY COMPATIBLE no
540DEPENDENCIES extensible_dataset
541.TE
542
543The \fBlarge_block\fR feature allows the record size on a dataset to be
544set larger than 128KB.
545
405ec516 546This feature becomes \fBactive\fR once a dataset contains a file with
547a block size larger than 128KB, and will return to being \fBenabled\fR once all
f1512ee6
MA
548filesystems that have ever had their recordsize larger than 128KB are destroyed.
549.RE
550
50c957f7
NB
551.sp
552.ne 2
553.na
554\fB\fBlarge_dnode\fR\fR
555.ad
556.RS 4n
557.TS
558l l .
559GUID org.zfsonlinux:large_dnode
560READ\-ONLY COMPATIBLE no
561DEPENDENCIES extensible_dataset
562.TE
563
564The \fBlarge_dnode\fR feature allows the size of dnodes in a dataset to be
565set larger than 512B.
566
567This feature becomes \fBactive\fR once a dataset contains an object with
568a dnode larger than 512B, which occurs as a result of setting the
569\fBdnodesize\fR dataset property to a value other than \fBlegacy\fR. The
570feature will return to being \fBenabled\fR once all filesystems that
571have ever contained a dnode larger than 512B are destroyed. Large dnodes
572allow more data to be stored in the bonus buffer, thus potentially
573improving performance by avoiding the use of spill blocks.
574.RE
575
3c67d83a
TH
576\fB\fBsha512\fR\fR
577.ad
578.RS 4n
579.TS
580l l .
581GUID org.illumos:sha512
582READ\-ONLY COMPATIBLE no
125a406e 583DEPENDENCIES extensible_dataset
3c67d83a
TH
584.TE
585
586This feature enables the use of the SHA-512/256 truncated hash algorithm
587(FIPS 180-4) for checksum and dedup. The native 64-bit arithmetic of
588SHA-512 provides an approximate 50% performance boost over SHA-256 on
58964-bit hardware and is thus a good minimum-change replacement candidate
590for systems where hash performance is important, but these systems
591cannot for whatever reason utilize the faster \fBskein\fR and
592\fBedonr\fR algorithms.
593
594When the \fBsha512\fR feature is set to \fBenabled\fR, the administrator
595can turn on the \fBsha512\fR checksum on any dataset using the
596\fBzfs set checksum=sha512\fR(1M) command. This feature becomes
597\fBactive\fR once a \fBchecksum\fR property has been set to \fBsha512\fR,
598and will return to being \fBenabled\fR once all filesystems that have
599ever had their checksum set to \fBsha512\fR are destroyed.
600
601Booting off of pools utilizing SHA-512/256 is supported (provided that
602the updated GRUB stage2 module is installed).
603
604.RE
605
606.sp
607.ne 2
608.na
609\fB\fBskein\fR\fR
610.ad
611.RS 4n
612.TS
613l l .
614GUID org.illumos:skein
615READ\-ONLY COMPATIBLE no
125a406e 616DEPENDENCIES extensible_dataset
3c67d83a
TH
617.TE
618
619This feature enables the use of the Skein hash algorithm for checksum
620and dedup. Skein is a high-performance secure hash algorithm that was a
621finalist in the NIST SHA-3 competition. It provides a very high security
622margin and high performance on 64-bit hardware (80% faster than
623SHA-256). This implementation also utilizes the new salted checksumming
624functionality in ZFS, which means that the checksum is pre-seeded with a
625secret 256-bit random key (stored on the pool) before being fed the data
626block to be checksummed. Thus the produced checksums are unique to a
627given pool, preventing hash collision attacks on systems with dedup.
628
629When the \fBskein\fR feature is set to \fBenabled\fR, the administrator
630can turn on the \fBskein\fR checksum on any dataset using the
631\fBzfs set checksum=skein\fR(1M) command. This feature becomes
632\fBactive\fR once a \fBchecksum\fR property has been set to \fBskein\fR,
633and will return to being \fBenabled\fR once all filesystems that have
634ever had their checksum set to \fBskein\fR are destroyed.
635
636Booting off of pools using \fBskein\fR is \fBNOT\fR supported
637-- any attempt to enable \fBskein\fR on a root pool will fail with an
638error.
639
640.RE
641
642.sp
643.ne 2
644.na
645\fB\fBedonr\fR\fR
646.ad
647.RS 4n
648.TS
649l l .
650GUID org.illumos:edonr
651READ\-ONLY COMPATIBLE no
125a406e 652DEPENDENCIES extensible_dataset
3c67d83a
TH
653.TE
654
655This feature enables the use of the Edon-R hash algorithm for checksum,
656including for nopwrite (if compression is also enabled, an overwrite of
657a block whose checksum matches the data being written will be ignored).
658In an abundance of caution, Edon-R can not be used with dedup
659(without verification).
660
661Edon-R is a very high-performance hash algorithm that was part
662of the NIST SHA-3 competition. It provides extremely high hash
663performance (over 350% faster than SHA-256), but was not selected
664because of its unsuitability as a general purpose secure hash algorithm.
665This implementation utilizes the new salted checksumming functionality
666in ZFS, which means that the checksum is pre-seeded with a secret
667256-bit random key (stored on the pool) before being fed the data block
668to be checksummed. Thus the produced checksums are unique to a given
669pool.
670
671When the \fBedonr\fR feature is set to \fBenabled\fR, the administrator
672can turn on the \fBedonr\fR checksum on any dataset using the
673\fBzfs set checksum=edonr\fR(1M) command. This feature becomes
674\fBactive\fR once a \fBchecksum\fR property has been set to \fBedonr\fR,
675and will return to being \fBenabled\fR once all filesystems that have
676ever had their checksum set to \fBedonr\fR are destroyed.
677
678Booting off of pools using \fBedonr\fR is \fBNOT\fR supported
679-- any attempt to enable \fBedonr\fR on a root pool will fail with an
680error.
681
9ff13dbe
BB
682.RE
683
1de321e6
JX
684.sp
685.ne 2
686.na
687\fB\fBuserobj_accounting\fR\fR
688.ad
689.RS 4n
690.TS
691l l .
692GUID org.zfsonlinux:userobj_accounting
693READ\-ONLY COMPATIBLE yes
694DEPENDENCIES extensible_dataset
695.TE
696
697This feature allows administrators to account the object usage information
698by user and group.
699
700This feature becomes \fBactive\fR as soon as it is enabled and will never
701return to being \fBenabled\fR. Each filesystem will be upgraded automatically
702when remounted, or when new files are created under that filesystem.
703The upgrade can also be started manually on filesystems by running
704`zfs set version=current <pool/fs>`. The upgrade process runs in the background
705and may take a while to complete for filesystems containing a large number of
706files.
707
708.RE
709
b5256303
TC
710.sp
711.ne 2
712.na
713\fB\fBencryption\fR\fR
714.ad
715.RS 4n
716.TS
717l l .
718GUID com.datto:encryption
719READ\-ONLY COMPATIBLE no
720DEPENDENCIES extensible_dataset
721.TE
722
723This feature enables the creation and management of natively encrypted datasets.
724
725This feature becomes \fBactive\fR when an encrypted dataset is created and will
726be returned to the \fBenabled\fR state when all datasets that use this feature
727are destroyed.
728
729.RE
730
9c5167d1
NF
731.sp
732.ne 2
733.na
734\fB\fBproject_quota\fR\fR
735.ad
736.RS 4n
737.TS
738l l .
739GUID org.zfsonlinux:project_quota
740READ\-ONLY COMPATIBLE yes
741DEPENDENCIES extensible_dataset
742.TE
743
744This feature allows administrators to account the spaces and objects usage
745information against the project identifier (ID).
746
747The project ID is new object-based attribute. When upgrading an existing
748filesystem, object without project ID attribute will be assigned a zero
749project ID. After this feature is enabled, newly created object will inherit
750its parent directory's project ID if the parent inherit flag is set (via
751\fBchattr +/-P\fR or \fBzfs project [-s|-C]\fR). Otherwise, the new object's
752project ID will be set as zero. An object's project ID can be changed at
753anytime by the owner (or privileged user) via \fBchattr -p $prjid\fR or
754\fBzfs project -p $prjid\fR.
755
756This feature will become \fBactive\fR as soon as it is enabled and will never
757return to being \fBdisabled\fR. Each filesystem will be upgraded automatically
758when remounted or when new file is created under that filesystem. The upgrade
759can also be triggered on filesystems via `zfs set version=current <pool/fs>`.
760The upgrade process runs in the background and may take a while to complete
761for the filesystems containing a large number of files.
762
763.RE
764
9ae529ec 765.SH "SEE ALSO"
a3177028 766\fBzpool\fR(8)