aboutsummaryrefslogtreecommitdiffstats
path: root/man/man8/zfs.8
diff options
context:
space:
mode:
authorDeHackEd <[email protected]>2018-04-10 20:19:01 -0400
committerBrian Behlendorf <[email protected]>2018-04-10 17:19:01 -0700
commitdfb1ad027f23f65bfe47493e195c18565bce4148 (patch)
tree127af082ae65d107a6e148e1bb2f2639a41604cd /man/man8/zfs.8
parentedc1e713c294d116702b034c59eed7b9a03fbc64 (diff)
zfs(8): fix dedup omission during mdoc overhaul
The property description has been updated with new algorithms as well. Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Richard Elling <[email protected]> Reviewed-by: loli10K <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: DHE <[email protected]> Closes #7377
Diffstat (limited to 'man/man8/zfs.8')
-rw-r--r--man/man8/zfs.830
1 files changed, 30 insertions, 0 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index bfae494c6..acebf64a3 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -1330,6 +1330,36 @@ and
.Sy nodev
mount options.
.It Xo
+.Sy dedup Ns = Ns Sy off Ns | Ns Sy on Ns | Ns Sy verify Ns | Ns
+.Sy sha256[,verify] Ns | Ns Sy sha512[,verify] Ns | Ns Sy skein[,verify] Ns | Ns
+.Sy edonr,verify
+.Xc
+Configures deduplication for a dataset. The default value is
+.Sy off .
+The default deduplication checksum is
+.Sy sha256
+(this may change in the future). When
+.Sy dedup
+is enabled, the checksum defined here overrides the
+.Sy checksum
+property. Setting the value to
+.Sy verify
+has the same effect as the setting
+.Sy sha256,verify.
+.Pp
+If set to
+.Sy verify ,
+ZFS will do a byte-to-byte comparsion in case of two blocks having the same
+signature to make sure the block contents are identical. Specifying
+.Sy verify
+is mandatory for the
+.Sy edonr
+algorithm.
+.Pp
+Unless necessary, deduplication should NOT be enabled on a system. See
+.Sx Deduplication
+above.
+.It Xo
.Sy dnodesize Ns = Ns Sy legacy Ns | Ns Sy auto Ns | Ns Sy 1k Ns | Ns
.Sy 2k Ns | Ns Sy 4k Ns | Ns Sy 8k Ns | Ns Sy 16k
.Xc