From: David Greaves <david@dgreaves.com>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: Tom <matx3001@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: raid 5, drives marked as failed. Can I recover?
Date: Fri, 30 Jan 2009 14:56:26 +0000 [thread overview]
Message-ID: <4983151A.4050609@dgreaves.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0901300917120.23960@p34.internal.lan>
Justin Piszcz wrote:
> Try to assmeble the array with --force.
hmmmm? not yet...
> On Thu, 29 Jan 2009, Tom wrote:
>
>> Hello,
>>
>> 2 drives have failed on my raid5 setup and I need to recover the data
>> on the raid.
>> I am sure that the drives still works or at least one of them still
>> works.
>>
>> How do I recover my drives?
How important is it?
The more important the data the more you should reduce the risk of a subsequent
failure.
If you "don't care" then we just force it back together and cross fingers.
Otherwise we run tests on all the drives before trying a restore.
I'd say to run these tests on each drive; as a minimum do the first test on the
failed drive, more paranoia, more tests and include the non-failed drives (to
ensure they don't fail during recovery):
* smartctl -t short
* smartctl -t long
* badblocks
What happened? Smoke?
Are the drives faulty (what does smartctl -a tell you)
Did the cables just wiggle? Is the controller broken?
You probably don't know :)
I would obtain replacements for the failed drives and use ddrescue to copy from
the failed drive to a replacement.
Then install the good drives and begin recovery.
>> I can't mount the raid no more and I am missing a hard drive when i
>> run ls /dev/sd?
>> I have 7 drives on my raid.
You say you have 7 drives and 2 are failed.
And yet I see 4 drives, not 5.
Where is sdg?
>> Here is output of /var/log/messages in following link
>>
>> http://matx.pastebin.com/m35423452
Jan 29 21:14:11 sda died
Jan 29 21:14:12 sdb died
>>
>> also some more information
Also need:
Distro
Kernel version
Mdadm version
mdadm --examine for each available component.
David
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
next prev parent reply other threads:[~2009-01-30 14:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 23:17 raid 5, drives marked as failed. Can I recover? Tom
2009-01-30 14:18 ` Justin Piszcz
2009-01-30 14:56 ` David Greaves [this message]
2009-01-30 15:06 ` Tom
2009-01-30 15:24 ` David Greaves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4983151A.4050609@dgreaves.com \
--to=david@dgreaves.com \
--cc=jpiszcz@lucidpixels.com \
--cc=linux-raid@vger.kernel.org \
--cc=matx3001@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.