From dfb1ad027f23f65bfe47493e195c18565bce4148 Mon Sep 17 00:00:00 2001 From: DeHackEd Date: Tue, 10 Apr 2018 20:19:01 -0400 Subject: zfs(8): fix dedup omission during mdoc overhaul The property description has been updated with new algorithms as well. Reviewed-by: Matt Ahrens Reviewed-by: Richard Elling Reviewed-by: loli10K Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: DHE Closes #7377 --- man/man8/zfs.8 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 -- cgit v1.2.3