From: Tim Small <tim@buttersideup.com>
To: Roberto Nunnari <roberto.nunnari@supsi.ch>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: faulty array member
Date: Thu, 18 Nov 2010 19:29:18 +0000 [thread overview]
Message-ID: <4CE57E8E.2040902@buttersideup.com> (raw)
In-Reply-To: <4CE55D9E.4070406@supsi.ch>
On 18/11/10 17:08, Roberto Nunnari wrote:
>
> md0 : active raid1 sdb1[1] sda2[2](F)
> 40957568 blocks [2/1] [_U]
>
> The question is:
> Is there a way and is it safe to put back /dev/sda2 into
> /dev/md0 so that I'm sure I can backup even the blocks
If there have been writes to md0 since sda2 was failed, then no. Your
best best is probably to find out which sectors are bad in sdb1, and
then copy those individual blocks (only) over from sda2 (e.g. using
dd). Once sdb1 has no pending sectors left, you should then be able to
re-add sda2 back into md0.
I don't know what the bad-block remapping is like on the CentOS4 kernel,
so you may want to use a more recent boot CD etc. to carry out the
rebuild, if it doesn't work using the native kernel. Maybe.
Tim.
next prev parent reply other threads:[~2010-11-18 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 17:08 faulty array member Roberto Nunnari
2010-11-18 19:29 ` Tim Small [this message]
[not found] ` <4CE640C6.3090607@supsi.ch>
2010-11-19 10:47 ` Tim Small
2010-11-22 4:05 ` Neil Brown
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=4CE57E8E.2040902@buttersideup.com \
--to=tim@buttersideup.com \
--cc=linux-raid@vger.kernel.org \
--cc=roberto.nunnari@supsi.ch \
/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.