I had a quick question about RAID. I understand that RAID uses one or more parity disks to repair failed disks, but I was wondering what they mean by "declustering" the disks? And also, if someone could explain the concept of "scrubbing" when it comes to disks and such (in a way that a beginner could understand) that would really be helpful :)
2 Answers
Declustering uses multiple RAID controllers in a way that a failed disk can be recovered by work done by more than one controller at a time. Otherwise, if you lost a single disk in a RAID 5 or RAID 6 array, the rebuild would take about as long as it takes to read all the data from an array drive, which can be very long with modern multi-TB drives.
Scrubbing resolves the problem of hidden data errors. A scrubber continuously (or on a schedule), at a slow rate and a low priority, reads every byte of data from every drive. If any data cannot be read, the data is recovered from the parity drive(s) and re-written. This ensures that errors do not accumulate and it ensures that drive failures are detected as early as possible. This increases the chances that a rebuild after a failed drive will succeed.
Every decent RAID controller has some kind of scrubbing capability. The most basic would be to scrub every 24 hours at low priority. Ideally, hot spare drives would be scrubbed as well. In contract, declustering is in very limited use right now.

- 31,449
- 2
- 55
- 84
-
Thanks. I'm not sure what you mean by a RAID "controller"... I know what a *disk* controller is, but unfamiliar with how a controller could be used for RAID – Kaitlyn Mcmordie Oct 26 '11 at 04:12
-
Also, doesn't it make it automatically true that a hot spare needs to be scrubbed, since it's now considered one of the disks in the array? Thank you :) – Kaitlyn Mcmordie Oct 26 '11 at 04:13
-
1A RAID controller is a disk controller that performs some portion of the RAID operations itself. A hot spare is usually not considered one of the disks in the array (until and unless it's added). For example, suppose you have two RAID 5 arrays and a single hot spare. Which array should it be considered one of the disks of? The purpose of 'scrubbing' a spare is a bit different -- it's to ensure the spare is still functional rather than to prevent data loss. – David Schwartz Oct 26 '11 at 13:36
RAID by itself does not necessarily use one or more disk for parity -- it all depends on the RAID level. For example, RAID 0 has no parity at all. Instead it is built for pure performance.
For more information about RAID levels you can visit http://en.wikipedia.org/wiki/Standard_RAID_levels
As far as "declustering" and "scrubbing", can you provide either a link to this discussion, or addtional details?

- 2,978
- 12
- 44
- 49