From: DeHackEd Date: Wed, 11 Apr 2018 00:19:01 +0000 (-0400) Subject: zfs(8): fix dedup omission during mdoc overhaul X-Git-Tag: zfs-0.8.0-rc1~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfb1ad027f23f65bfe47493e195c18565bce4148;p=zfs 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 --- 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