Should your home server be scrubbing or resilvering?
A ZFS scrub checks allocated data against its checksums, while a resilver rebuilds needed data on a device.
- ScrubValidate stored data against checksums
- ResilverRebuild the affected device’s needed contents
- RecoveryIndependently test a backup
Read the pool operation first
Check the pool status before guessing what the disk lights mean. Note the operation name, progress and any reported errors. Start a maintenance record so later alerts can be associated with a device change or scheduled scan.
Understand the expected outcome
A scrub assesses stored data and can repair from available valid redundancy. A resilver addresses a device needing rebuilt data. A completed rebuild is not a report that an independent backup can be restored.
Plan heavy jobs around it
Keep a separate verified backup and allow enough time for the pool’s work. Avoid interrupting a healthy maintenance process just to improve a benchmark. Verify the final status and look for unexplained errors.
Try it
Sources
Source review . Research and writing prepared with AI assistance.