* Multiple Disk Failure Recovery
@ 2006-10-15 2:29 Lane Brooks
2006-10-15 6:35 ` David Rees
0 siblings, 1 reply; 3+ messages in thread
From: Lane Brooks @ 2006-10-15 2:29 UTC (permalink / raw)
To: linux-raid
I have a RAID 5 setup with one spare disk. One of the disks failed, so
I replaced it, and while it was recovering, it found some bad sectors on
another drive (unreadable and uncorrectable SMART errors). This
generated a fail event and shut down the array.
When I restart the array with the force command, it starts the recovery
process and dies when it gets to the bad sectors, so I am stuck in an
infinite loop.
I am wondering if there is a way to cut my losses with these bad sectors
and have it recover what it can so that I can get my raid array back to
functioning. Right now I cannot get a spare disk recovery to finish
because these bad sectors. Is there a way to force as much recovery as
possible so that I can replace this newly faulty drive?
Thanks
Lane
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Multiple Disk Failure Recovery
2006-10-15 2:29 Multiple Disk Failure Recovery Lane Brooks
@ 2006-10-15 6:35 ` David Rees
2006-10-15 12:16 ` Roger Gammans
0 siblings, 1 reply; 3+ messages in thread
From: David Rees @ 2006-10-15 6:35 UTC (permalink / raw)
To: Lane Brooks; +Cc: linux-raid
On 10/14/06, Lane Brooks <lbrooks@mit.edu> wrote:
> I am wondering if there is a way to cut my losses with these bad sectors
> and have it recover what it can so that I can get my raid array back to
> functioning. Right now I cannot get a spare disk recovery to finish
> because these bad sectors. Is there a way to force as much recovery as
> possible so that I can replace this newly faulty drive?
One technique is to use ddrescue to create an image of the failing
drive(s) (I would image all drives if possible) and use those images
to try to retrieve your data.
-Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Multiple Disk Failure Recovery
2006-10-15 6:35 ` David Rees
@ 2006-10-15 12:16 ` Roger Gammans
0 siblings, 0 replies; 3+ messages in thread
From: Roger Gammans @ 2006-10-15 12:16 UTC (permalink / raw)
To: David Rees; +Cc: Lane Brooks, linux-raid
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
On Sat, Oct 14, 2006 at 11:35:31PM -0700, David Rees wrote:
> On 10/14/06, Lane Brooks <lbrooks@mit.edu> wrote:
> >functioning. Right now I cannot get a spare disk recovery to finish
> >because these bad sectors. Is there a way to force as much recovery as
> >possible so that I can replace this newly faulty drive?
>
> One technique is to use ddrescue to create an image of the failing
> drive(s) (I would image all drives if possible) and use those images
> to try to retrieve your data.
I'm currently writing error supression md layer precisely for situations
like this to remove the need for the dd step.
Obvisouly it doesn't recover the data in the bad sectors or masked by errors
but the aim is to reduce to need of doing multiple copies which
recoversy procdure tend to invovle.
TTFN
--
Roger. Home| http://www.sandman.uklinux.net/
Master of Peng Shui. (Ancient oriental art of Penguin Arranging)
Work|Independent Sys Consultant | http://www.computer-surgery.co.uk/
So what are the eigenvalues and eigenvectors of 'The Matrix'? --anon
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-15 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-15 2:29 Multiple Disk Failure Recovery Lane Brooks
2006-10-15 6:35 ` David Rees
2006-10-15 12:16 ` Roger Gammans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox