From: Neil Brown <neilb@suse.de>
To: "Thomas Langås" <thomas.langaas@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm 2.6, linux 2.6.17, failed grow/reshape
Date: Wed, 21 Feb 2007 06:52:03 +1100 [thread overview]
Message-ID: <17883.20835.24504.15249@notabene.brown> (raw)
In-Reply-To: message from Thomas Lang.s on Tuesday February 20
On Tuesday February 20, thomas.langaas@gmail.com wrote:
> On 2/20/07, Neil Brown <neilb@suse.de> wrote:
> > > It says that the device (md0) is in delta 4->5, but I'm unable to get
> > > it to restart reshaping. Are all the data I had on the raid-device
> > > lost? Or is it possible to make it restart where it left off? It
> > > clearly knows how far it has come along, since I get some stats about
> > > that.
> > Hmm... it should "just work", and it my testing it does.
>
> What should "kick off" the rebuild/reshape-process once it has been
> interrupted?
When the array is started, it notices the reshape is incomplete and
kick-starts the reshape.
>
> > The reshape process regularly checkpoints its progress so it knows
> > where to start off from, and when you assemble the array again, it
> > should restart the reshape.
>
> Ok, no matter if it's a different system assembling the drives? The
> kernel is not running the md-device (if there is one?) from
> mdadm-2.6-source, it's running the one inside 2.6.17.
No, it doesn't matter if it is a different system, as long as the
kernel is new enough to understand reshaping (and i think 2.6.17 is
the earliest that understands it properly).
>
> > Can you post kernel log messages showing md0 being assembled? Also
> > the output of "mdadm -E" on a couple of drives might be helpful.
>
> Running assemble:
> # ./mdadm --assemble --scan
> mdadm: failed to RUN_ARRAY /dev/.static/dev/md0: Invalid argument
>
> Ouput from syslog:
> Feb 20 20:20:09 ubuntu kernel: [17197083.928000] md: md0 stopped.
> Feb 20 20:20:09 ubuntu kernel: [17197084.012000] md: bind<sdd1>
> Feb 20 20:20:09 ubuntu kernel: [17197084.012000] md: bind<sde1>
> Feb 20 20:20:09 ubuntu kernel: [17197084.012000] md: bind<sdf1>
> Feb 20 20:20:09 ubuntu kernel: [17197084.012000] md: bind<sdg1>
> Feb 20 20:20:09 ubuntu kernel: [17197084.016000] md: bind<sdc1>
Is that all....
Could it be that the kernel you are now using was not compiled with
CONFIG_MD_RAID5_RESHAPE=y
that would explain an error with no message. In fact it is the only
thing that would explain the messages you got. So please try with a
kernel that has RAID5_RESHAPE enabled.
Thanks,
NeilBrown
next prev parent reply other threads:[~2007-02-20 19:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 18:47 mdadm 2.6, linux 2.6.17, failed grow/reshape Thomas Langås
[not found] ` <17883.18091.699835.980907@notabene.brown>
[not found] ` <6264d2ec0702201122l2f718694k52ebbb1e9bd5717c@mail.gmail.com>
2007-02-20 19:23 ` Thomas Langås
2007-02-20 19:52 ` Neil Brown [this message]
2007-02-20 21:59 ` Thomas Langås
[not found] ` <17883.20708.151676.391623@notabene.brown>
2007-02-20 20:18 ` Thomas Langås
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=17883.20835.24504.15249@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=thomas.langaas@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox