From: Phil Turmel <philip@turmel.org>
To: NeilBrown <neilb@suse.de>
Cc: Kenneth Emerson <kenneth.emerson@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: md metadata nightmare
Date: Tue, 22 Nov 2011 22:50:52 -0500 [thread overview]
Message-ID: <4ECC6D9C.8050009@turmel.org> (raw)
In-Reply-To: <20111123114743.1085889e@notabene.brown>
Hi Ken,
On 11/22/2011 07:47 PM, NeilBrown wrote:
> On Tue, 22 Nov 2011 18:05:21 -0600 Kenneth Emerson
[...]
> Assuming nothing has changed since the "--detail" output you provided, you
> should:
>
> mdadm -S /dev/md3
> mdadm -C /dev/md3 --metadata=1.0 --chunk=64k --level=6 --raid-devices=5 \
> missing /dev/sdb4 /dev/sdc4 /dev/sda4 /dev/sdd4 \
> --assume-clean
>
> The order of the disks is import. You should compare it with the output
> of "mdadm --detail" before you start to ensure that it is correct and I have
> made any typos. You should of course check the rest as well.
> After doing this (and possibly before) you should 'fsck' to ensure the
> transition was successful. If anything goes wrong, ask before risking
> further breakage.
A word of warning... the shell notation /dev/sd[bcad]4, which you might be
tempted to type in the above command line, *will* *not* *work*. Bash reorders
the [bcad] to [abcd], dropping nonexistent names. You might know this, and
not be burned, but others on the list have been. Use {b,c,a,d} to stay safe.
HTH,
Phil
next prev parent reply other threads:[~2011-11-23 3:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-23 0:05 md metadata nightmare Kenneth Emerson
2011-11-23 0:47 ` NeilBrown
2011-11-23 3:50 ` Phil Turmel [this message]
2011-11-23 15:35 ` CoolCold
[not found] ` <CADzwnhUJ7HbZH9yqa6x9sHFLo8Vg=1k_SyzvZyq2=iQ5YRLhZQ@mail.gmail.com>
2011-11-23 22:36 ` NeilBrown
[not found] ` <CADzwnhXuW7ShBNGf+kqnZYrtRnWMPSRDWzb2h4Gt69Cih0-yGA@mail.gmail.com>
[not found] ` <CADzwnhUmHACPJA+c23AeRs3AW_ExuAUQST9jew_=5U1xdMqEFA@mail.gmail.com>
2011-12-03 17:02 ` Kenneth Emerson
[not found] ` <20111204061122.5bb5de4b@notabene.brown>
2011-12-04 17:20 ` Kenneth Emerson
2011-12-04 17:31 ` wilsonjonathan
2011-12-04 19:39 ` NeilBrown
2011-12-05 5:05 ` Kenneth Emerson
2011-11-23 22:38 ` Kenneth Emerson
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=4ECC6D9C.8050009@turmel.org \
--to=philip@turmel.org \
--cc=kenneth.emerson@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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