From: carlos@fisica.ufpr.br (Carlos Carvalho)
To: linux-raid@vger.kernel.org
Subject: Re: array doesn't run even with --force
Date: Mon, 21 Jan 2008 01:27:01 -0200 [thread overview]
Message-ID: <18324.4357.127449.627031@fisica.ufpr.br> (raw)
In-Reply-To: <18324.3296.548839.160381@notabene.brown>
Neil Brown (neilb@suse.de) wrote on 21 January 2008 14:09:
>As you note, sda4 says that it thinks slot 1 is still active/sync, but
>it doesn't seem to know which device should go there either.
>However that does indicate that slot 3 failed first and slot 1 failed
>later. So if we have candidates for both, slot 1 is probably more
>uptodate.
I was going home (it's 1h20 past midnight) when I remembered and came
back to write that assembling with
/dev/sda4 /dev/sdb4 /dev/sdc4 missing /dev/sde4
"works", which confirms what you say. Adding sdd4 back it
starts resyncing, however since sdb4 has errors, a double fault
happens again and the array fails.
>You need to tell mdadm what goes where by creating the array.
>e.g. if you think that sdb4 is adequately reliable and that it was in
>slot 1, then
>
> mdadm -C /dev/md3 -l5 -n5 -c 128 /dev/sda4 /dev/sdb4 /dev/sdc4 missing /dev/sde4
>
>alternately if you think it best to use sdd, and it was in slot 3,
>then
>
> mdadm -C /dev/md3 -l5 -n5 -c 128 /dev/sda4 missing /dev/sdc4 /dev/sdd4 /dev/sde4
>
>would be the command to use.
>
>Note that this command will not touch any data. It will just
>overwrite the superblock and assemble the array.
>You can then 'fsck' or whatever to confirm that the data looks good.
I have two possibilities: use sdd4 in slot 3 or the dump of sdb4 in
another disk in slot 1. This copy is more recent but has errors. Is it
possible to know which would be "less bad" before I fsck?
prev parent reply other threads:[~2008-01-21 3:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-20 22:52 array doesn't run even with --force Carlos Carvalho
2008-01-21 1:13 ` Neil Brown
2008-01-21 2:53 ` Carlos Carvalho
2008-01-21 3:09 ` Neil Brown
2008-01-21 3:27 ` Carlos Carvalho [this message]
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=18324.4357.127449.627031@fisica.ufpr.br \
--to=carlos@fisica.ufpr.br \
--cc=linux-raid@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox