Skip to contentSkip to conversation

Raid Degradation best practices

DISCUSSION Andrew Dunn 3 participants 4 messages Nov 6, 2009 – Nov 7, 2009 MD RAID

lore
Share & tools
lore
#0 lore raw

This morning my array lost a drive, then another. This was not due to drive failures of hardware issues.

I did not have any data on the array so I wiped the drives and re-created it. So far everything seems fine.

I would like to know what some of your practices are for the scenario where you loose a drive or more on a mission critical array. I chose the newbish route because I didn't have enough time or expertise to diagnose the problems further. Typically this means it will happen again, and I will still be unprepared.

Would appreciate your input, thanks.

Signature · 2 lines
Andrew Dunn
http://agdunn.net
#1 lore raw
Quoted 6 lines · Andrew Dunn

This morning my array lost a drive, then another. This was not due to drive failures of hardware issues.

I did not have any data on the array so I wiped the drives and re-created it. So far everything seems fine.

Quoted 17 lines

I would like to know what some of your practices are for the scenario where you loose a drive or more on a mission critical array. I chose the newbish route because I didn't have enough time or expertise to diagnose the problems further. Typically this means it will happen again, and I will still be unprepared.

Would appreciate your input, thanks.

Signature · 7 lines
Andrew Dunn
http://agdunn.net

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

How did you lose the drives then?

If it is a mission-critical array, what RAID type are you using?

Are you backing up the data regularly, since it is mission-critical?

Justin.

#2 lore raw

I am using RAID6, on 9 WD1001FALS drives.

The VERY important data is backed up to multiple external drives and stored at a separate location.

I figured out my issue last night. I had an issue with the array where it was doing the silly /dev/md_d0 thing, so when I stopped that and started the new one I did '--assume-clean' then when I started copying my information back to the array multiple devices dropped out. Their SMART information passes just fine, so it must have been the array was not clean.

This was my mistake, but in the future when I have a real drive failure I was curious to see how you approach that issue.

Thanks,

Quoted 36 lines · Justin Piszcz
Quoted 6 lines · Andrew Dunn

This morning my array lost a drive, then another. This was not due to drive failures of hardware issues.

I did not have any data on the array so I wiped the drives and re-created it. So far everything seems fine.

Quoted 17 lines

I would like to know what some of your practices are for the scenario where you loose a drive or more on a mission critical array. I chose the newbish route because I didn't have enough time or expertise to diagnose the problems further. Typically this means it will happen again, and I will still be unprepared.

Would appreciate your input, thanks.

Signature · 7 lines
Andrew Dunn
http://agdunn.net

-- 
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

How did you lose the drives then?

If it is a mission-critical array, what RAID type are you using?

Are you backing up the data regularly, since it is mission-critical?

Justin.

Signature · 2 lines
Andrew Dunn
http://agdunn.net
#3 lore raw
Quoted 11 lines · Andrew Dunn

I am using RAID6, on 9 WD1001FALS drives.

The VERY important data is backed up to multiple external drives and stored at a separate location.

I figured out my issue last night. I had an issue with the array where it was doing the silly /dev/md_d0 thing, so when I stopped that and started the new one I did '--assume-clean' then when I started copying my information back to the array multiple devices dropped out. Their SMART information passes just fine, so it must have been the array was not clean.

--assume-clean just skips the resync. If the array is actualy not clean you just get an increased mismatch_cnt when you run a check and bad data when a disk fails. It never causes a disk to drop out.

Quoted 2 lines

This was my mistake, but in the future when I have a real drive failure I was curious to see how you approach that issue.

Having bitmaps helps since when a disk temporarily drops out and you ad it back you only need to resync the bits that have changed. But that only reduces the window where another (or a third for raid6) disk failure is critical. If you get 3 failed disk, temporary or not, at the same time then your raid6 breaks and you need to put the pices back together yourself. Depending on each components state you might have data loss or corruption.

The best thing to do is to make sure your hardware is fit and does not just drop out for a minute.

MfG
Goswin