From f191b5e0c03d52d65d09573a4fcfc0263aab8c44 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 2 Dec 2026 12:04:17 -0600 Subject: [PATCH] Deployed 9d12bcf23 to latest with MkDocs 1.6.1 and mike 2.2.0 --- latest/project_comparisons/index.html | 70 ++++++++++++++++++++++++--- latest/search/search_index.json | 2 +- 2 files changed, 65 insertions(+), 7 deletions(-) diff --git a/latest/project_comparisons/index.html b/latest/project_comparisons/index.html index 4e858081..4af62142 100644 --- a/latest/project_comparisons/index.html +++ b/latest/project_comparisons/index.html @@ -1782,6 +1782,23 @@ + + @@ -2679,6 +2696,23 @@ + + @@ -3204,12 +3238,36 @@ the array's parity protection.

For frequently changing files, live parity protects the latest writes -against disk failure, but it also reflects accidental deletions. For a -mostly static media library, SnapRAID keeps parity work off the write -path and uses stored checksums to detect silent corruption during a -scrub. It may also recover a synced file deleted since the last sync; -new or changed data on a failed disk is not protected until synced. -None of the three replaces an independent backup.

+against disk failure, but it also reflects accidental deletions. SnapRAID +is better suited to mostly static data: it may recover a synced file +deleted before the next sync, but it cannot recover writes made to a +failed disk since the last sync. None of the three replaces an +independent backup.

+

Detecting and repairing silent corruption

+

Suppose a disk reads a photo without reporting an error, but one block +now contains the wrong bytes. An Unraid parity check +or a NonRAID parity check +can report that data and parity disagree. Neither array check compares +the photo with a checksum of its original contents. A correcting +check updates parity to match what the disks return. If the photo is +wrong, that makes parity consistent with the damaged photo rather than +repairing it. A checksumming filesystem such as Btrfs or ZFS can detect +damage separately; its ability to repair it depends on having a good +copy or other redundancy available to the filesystem.

+

SnapRAID records both parity and a checksum for each synced data +block. When snapraid scrub reads the photo, it can identify the +damaged block by comparing it with the checksum saved in the content +file. It also checks parity: if the data checksums match but parity +does not, it is parity that needs repair. Scrubbing checks a portion +of the array by default and flags errors; it does not rewrite files +or repair them as applications read them.

+

As described in the SnapRAID manual, +snapraid -e fix targets blocks flagged as bad. With intact content +metadata and enough surviving data and parity, it can reconstruct the +damaged block or regenerate damaged parity. snapraid -p bad scrub +then rechecks the flagged blocks. The reference is the last sync: +if the photo was already corrupt when first synced, its checksum +cannot tell you what the photo should have contained.

NonRAID