brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: untick Write corrections to parity for a read-only parity check

Parity
~/tips/tip-unraid-parity-check-no-corrections

Main > Array Operation > untick "Write corrections to parity" > Check

Runs a parity check that only reports mismatches and never rewrites your parity disk.

A parity check on Unraid fixes mismatches by default. I like to know what is wrong before anything gets rewritten.

When you start a check from Main, Array Operation, there is a checkbox called Write corrections to parity. Leave it ticked and Unraid updates the parity disk whenever it finds a mismatch. Untick it and the check only reports. The docs call these two modes CORRECT and NOCORRECT.

Main > Array Operation > untick "Write corrections to parity" > Check

Why bother? A sync error means parity and the data disks disagree, and the cause can be a power cut, a cable or a failing drive. If a data disk is the one that is wrong, a correcting check bakes that wrong data into parity. A non-correcting run leaves everything as it is, so you can look at the SMART reports first and run a correcting check afterwards.

The error counter counts 4 KiB blocks, and only the first 100 addresses with errors get logged. So the count only hints at how much is wrong.

The caveat: a non-correcting check does not repair anything. If it reports sync errors, nothing is fixed until you run a correcting check. I’d treat a clean result as the goal and a dirty one as a reason to look at the hardware before I click again.

Further reading: Unraid docs: Array health and maintenance, On this site: an unclean shutdown starts a non-correcting parity check by default, On this site: schedule a monthly correcting parity check under Settings, Scheduler

Going deeper: Get the most out of Unraid: the settings worth changing, from shares to backups

More Parity tips Main > Array Devices > Parity, Disk 1, Disk 2, … Main > Array Devices > Identification column rsync -a /mnt/user/documents/ /mnt/disks/usbdrive/documents/ Main > Maintenance mode > Start > Sync Main > Array Operations > Check All Parity tips (14) All topics

Link