Re: On URE and RAID rebuild - again!
From: Gionatan Danti <hidden>
Date: 2014-07-30 13:05:29
On 30/07/2014 13:13, Mikael Abrahamsson wrote:
There has been much discussion about the URE figures. Some people interpret it one way, others another way. There is nobody here that knows for sure. Ask your HDD vendor, if they answer, do share here!
- Ouch! - I was hoping that HDD vendors were somewhat more open about their URE calculations... It's time for some lab test, I think! >
When MD encounters an URE, it should calculate that block from parity information and write it. I have personally had problems with this not happening, seems it might be that if the URE doesn't happen repeatedly, MD might not re-write. All parity raid levels should behave the same, so this should work identically for RAID1, RAID10, RAID5 and RAID6.
What about _degraded_ array state? In other words, if a degraded RAID5 experiences a URE during rebuild, what happens? I read that most hardware based RAID card both stop rebuilding _and_ kill the entire array. From my understanding, mdadm should stop rebuilding but the array can the restarted, mounted and backupped. Right? Regards. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8