[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: software RAID
On Fri, 20 May 2005 16:03:34 EDT, Lennart Sorensen said:

> If you have a bad sector, it doesn't go away by writing to it again. On
> modern drives, if you see bad sectors the disk is just about dead, and
> will probably be seen as such by the raid system which will then stop
> using the disk entirely and expect you to replace it ASAP.

The one exception here is if you have a miswritten sector (usually caused by
unexpected power-down), which won't read back correctly - but running badblocks
with one of the 'write-verify' options will resurrect it.

If you have a drive that has a bad block in it even *after* badblocks has
re-written it, it's time to replace the drive *now*....

For the original poster: Breaking the mirror and then re-mirroring from the
"good" drive *might* recover the bad block when it re-writes it. But don't bet
on it...

("power fail" is about the only cause of recoverable bad blocks that I know of -
and if you're having power-fail issues on a RAID, I'd recommend you fix
*THAT* problem before it causes you more grief. A good UPS will more than pay
for itself in sysadmin sanity and peace of mind....)
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-05-20 22:28    [W:0.062 / U:2.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site