![]() |
|
![]() |
![]() |
RAID Information - Data Recovery
This page provides information on the error recovery process for various
RAID levels.
|
Data recovery, whether it be from a read error, or from a failed drive, is similar in all RAID levels at or above 2. In general, the following procedure is used:
For RAID-1, one of the alternate drives is read to get the data. If the data recovery is the result of a read error, the recovered data is rewritten to the disk, as above.
For RAID-0, a failed drive, or a read error, is fatal and causes a loss of data. For this reason, RAID-0 should only be used for:
Any other use of RAID-0 should be carefully considered prior to implementation.
When a failed disk is replaced, the data recovery procedure appropriate for the RAID level, is used to reconstruct every block on the new disk. The reconstructed blocks are written out to the replacement disk. While this process is being performed, all writes to the array should behave normally. A read from the array should perform a reconstruct, if necessary, when the address is ahead of the current reconstruction pointer. If the read is from behind the reconstruction pointer, a normal read will work properly.
It can be seen that an unrecovered read error on two disks at the same point (very unlikely), or any unrecovered read error when a disk is failed, will result in the loss of data. For this reason, it is strongly suggested that the disks that make up the array be read, in their entirety, on a regular basis. This will help to locate, and correct, media flaws before they become unrecoverable. In addition, it is suggested that the parity of an array be verified on a regular basis, if that is possible.
If you have any comments or suggestions, please E-mail webmaster@accs.com