6

I have 4 disks in a raid10 array into a dell server. 2 drives are failed right now. The failed drives are not in the same group (1+2 and 3+4), drives failed are 2 and 3. The server is still running, but the array is degraded. I'm waiting the new drives to arrive.

What is the best way to replace drives? Can I replace both disks at the same time or it's better to rebuild the first group first then replace the other?

1
  • 1
    You may know why the drives failed but, if not, I'd suggest a very careful analysis of the reasons. Based on my experience with standard commercial/retail drives, real-world lifetimes are typically 5 to 10 years, with some unfortunate lesser time failures. Two drive failures within a short period suggests a common cause. Maybe power supply issues, temperature, other environment. May 6 at 7:01

2 Answers 2

12
  1. Make sure you have an up-to-date backup. If, for whatever reason, you don’t - start evacuating your data immediately! Don’t do it in parallel with the RAID rebuild as it puts more pressure on disks and instead of the streamline process you’ll get tons of random I/O killing performance. One you really need to get data somewhere ASAP.

  2. Replace faulty disks one-by-one. Doing a parallel rebuild in this case is going to be slower actually, and it’s not what you want.

Hope this helped.

P.S. You’ve been exceptionally lucky already as disks didn’t fail within same RAID1 group. Don’t stretch your luck thin!

4
  • 1
    Yes I am very lucky. That is what I have in my head too Thanks!
    – G1R0UARD
    May 5 at 12:51
  • Why on Earth is it going to be slower? Speed-wise, maybe, but you will be doing it in parallel, right? The desired result of a non-degraded array should be quicker when doing both at the same time. May 5 at 13:14
  • 1
    Why would parallel rebuild be slower? RAID10 has two separate pairs of mirrors, so it's just two independent drive copies. Or are you talking about doing this in the presence of significant I/O load from the still-running system, so reads during that time can be satisfied from the one disk that isn't part of the rebuild, reducing seeks on the pair that's rebuilding? That would make sense. May 5 at 15:31
  • @PeterCordes, wouldn't the disk that's not part of the rebuild have different data than the one sourcing the new drive? Otherwise it would be part of the rebuild process. So it can't help with reads targeting the rebuilding pair. (But would allow some reads to complete uncontested, not that I'm sure that helps in practice.) I also don't get why a parallel rebuild would be slower; at worst it should be the same speed, e.g. if the limiting factor isn't the disks but the controller. Doing it one pair at a time might let the first pair finish faster, but I'm not sure if that's too useful either.
    – ilkkachu
    May 6 at 10:58
2

Not sure about the PERC but I'd replace one drive at a time. Most likely the controller schedules two rebuilds and only runs one of them at a time anyway.

Of course, you should have a reliable and tested backup at all times.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .