bad block scanning vs. RAID scrubbing

Got a question about our NAS utilities? The answer lies within.

Moderator: Lillian.W@AST

Post Reply
User avatar
core
Posts: 20
youtube meble na wymiar Warszawa
Joined: Sat May 16, 2020 5:12 am

bad block scanning vs. RAID scrubbing

Post by core »

I have already enabled per disk bad block scanning on a schedule. Now I just noticed I could also run RAID scrubbing. I know they complement each other. But I can't seem to find any discussion of the two together.

I don't want to be doing wasteful work. It seems this should be sufficient:
  • while bad block scanning continues to succeed on my disks, there is no really value in doing periodic RAID scrubbing.
  • if bad block scanning finds a problem, then run RAID scrubbing and as soon as practical replace the failing disk.
Anyone have suggestions?
AS6208T + AS6004U
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: bad block scanning vs. RAID scrubbing

Post by Nazar78 »

Scrubbing verifies your data integrity and attempt to correct out of sync parity while badblocks only test sectors individually. You should priorities scrubbing instead, while at it, problematic sectors will also be reported by the system and relocated by modern disks similar to badblocks and smart long test.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Post Reply

Return to “NAS Utilities”