I just recently setup a 3 drive 4TB MDRAID 5 array for mirroring and an online backup of our server.
I am preparing for a future hardware (drive) failure and wanted to mitigate a recovery failure from a URE.
Typically I think of the process for rebuilding an array to be:
- Remove and replace failed drive.
- Rebuild array
From my understanding, in a degraded RAID 5 array you can still access data; but when the failed drive has been replaced and a the array is rebuilding, if a URE is detected, the recovery will fail and the data on the array will immediately be rendered unreadable and unrecoverable.
If my understanding is correct then it does not seem prudent to recover the array until all the (readable) data has been duplicated.
This leaves me with a process of:
- Duplicate data from array.
- Remove and replace failed drive.
- Rebuild array
Is there another process that would mitigate rebuild failures (aside from a second drive failure during rebuild)? Is it safe to rebuild array without duplicating the data first? Are my assumptions wrong such as the re build fails on URE but data is still available in degraded state?