Project

General

Profile

Actions

Feature #2015

open

ZFS dedup=verify should trigger a CKSUM error if the on-disk block is corrupted

Added by Jim Klimov over 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2012-01-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

NOTE: I am not sure if this is or is not implemented already. Perhaps the RFE can be closed quickly ;)

I did not get to check whether "dedup=verify" triggers a checksum mismatch alarm if the preexisting on-disk data does not in fact match the checksum (corrupted userdata block).
I think such an alarm should exist and do as much as a scrub, read or other means of error detection and recovery would - try to recover data and/or report an unrecoverable failure.
Also invalidate or require verification for existing DDT entry with the same checksum (see bug #1981).

Actions

Also available in: Atom PDF