Skip to content

Instantly share code, notes, and snippets.

View Mixermachine's full-sized avatar
:shipit:
Android Team Lead

Aaron Dietz Mixermachine

:shipit:
Android Team Lead
View GitHub Profile
@Mixermachine
Mixermachine / README.md
Created January 3, 2026 15:33
Dying ZFS raid pool rescue

Hi everyone,

I recently reactivated my NAS setup. It consists of a Intel N100 and four Western Digital RED CMR drives in a RAID-Z2 (RAID 6 -> two parrity drives). The software used is Truenas.

Two of the drives have already degrated pretty badly (read, write and checksum errors). The other were also throwing Checksum errors. Multiple files were already corrupted. Attempting to copy broken files from the pool would stop the complete copy action.

So I needed a robust script which attempts to copy files one by one.