1 Jan 2008 10:56
Re: Last ditch plea on remote double raid5 disk failure
David Rees <drees76 <at> gmail.com>
2008-01-01 09:56:00 GMT
2008-01-01 09:56:00 GMT
On Dec 31, 2007 2:39 AM, Marc MERLIN <merlin <at> gmail.com> wrote: > new years eve :( I was wondering if I can tell the kernel not to kick > a drive out of an array if it sees a block error and just return the > block error upstream, but continue otherwise (all my partitions are on > a raid5 array, with lvm on top, so even if I were to lose a partition, > I would still be likely to get the other ones back up if I can stop > the auto kicking-out and killing the md array feature). Best bet is to get a new drive into the machine that is at least the same size as the bad-sector disk, use dd_rescue[1] to copy as much of the bad-sector disk to the new one. Remove the bad-sector disk, reboot and hopefully you'll have a functioning raid array with a bit of bad data on it somewhere. I'm probably missing a step somewhere but you get the general idea... -Dave [1] http://www.garloff.de/kurt/linux/ddrescue/ - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html


The stripe_cache_size attributes will disappear (it is easy to remove
attributes, and stripe_cache_size is only meaningful for certain raid
levels).
Other attributes will return 0 or some equivalent, though I think
chunk_size will have the old value.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at 


RSS Feed