From: Asdo <asdo@shiftmail.org>
To: Rainer Fuegenstein <rfu@kaneda.iguw.tuwien.ac.at>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: raid5: cannot start dirty degraded array
Date: Wed, 23 Dec 2009 15:49:11 +0100 [thread overview]
Message-ID: <4B322DE7.5010403@shiftmail.org> (raw)
In-Reply-To: <1913939922.20091223153028@kaneda.iguw.tuwien.ac.at>
Rainer Fuegenstein wrote:
> MB> mdadm -Af /dev/md0
> MB> If that doesn't work for any reason, do this:
> MB> mdadm -Af /dev/md0 /dev/sdb1 /dev/sdd1 /dev/sdc1
>
> MB> You can note the disk order from the output of mdadm -E
>
The --assemble --force needs correct order of drives to be specified!?!?
I think it autodetects that
(would be EXTREMELY RISKY otherwise...)
Rainer, just after starting the array you can:
mdadm --readonly /dev/md0
so to be sure that no writes ever happen and a resync does not happen.
I suggest to take data out before doing any modifications (such as a
resync), if you can.
note: xfs needs -o ro,nobarrier,norecovery upon mount, in order to be
mounted from a readonly array.
As MB suggests, it's better to keep the the most recently failed drive
out of the array if possible, in order to have more coherent data. Also
true when you are going to add the first spare (that will cause a resync
and regeneration of one disk).
next prev parent reply other threads:[~2009-12-23 14:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 11:50 raid5: cannot start dirty degraded array Rainer Fuegenstein
2009-12-23 12:50 ` Rainer Fuegenstein
2009-12-23 13:25 ` Majed B.
2009-12-23 13:44 ` Re[2]: " Rainer Fuegenstein
2009-12-23 13:48 ` Majed B.
2009-12-23 14:02 ` Re[4]: " Rainer Fuegenstein
2009-12-23 14:04 ` Majed B.
2009-12-23 14:30 ` Re[6]: " Rainer Fuegenstein
2009-12-23 14:35 ` Majed B.
2009-12-23 15:13 ` Re[8]: " Rainer Fuegenstein
2009-12-23 15:16 ` Majed B.
2009-12-23 17:03 ` Re[10]: " Rainer Fuegenstein
2009-12-23 18:22 ` Justin Piszcz
2009-12-24 16:40 ` Thomas Fjellstrom
2009-12-27 12:57 ` 99-raid-check (was: raid5: cannot start dirty degraded array) Rainer Fuegenstein
2009-12-23 14:49 ` Asdo [this message]
[not found] ` <1339530534.20091223201649@kaneda.iguw.tuwien.ac.at>
2009-12-23 21:10 ` raid5: cannot start dirty degraded array Asdo
2009-12-23 13:13 ` spren.gm
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=4B322DE7.5010403@shiftmail.org \
--to=asdo@shiftmail.org \
--cc=linux-raid@vger.kernel.org \
--cc=rfu@kaneda.iguw.tuwien.ac.at \
/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;
as well as URLs for NNTP newsgroup(s).