public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: "Majed B." <majedb@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: 2 Disks Jumped Out While Reshaping RAID5
Date: Mon, 7 Sep 2009 09:52:49 +1000	[thread overview]
Message-ID: <19108.19281.495223.465327@notabene.brown> (raw)
In-Reply-To: message from Majed B. on Sunday September 6

On Sunday September 6, majedb@gmail.com wrote:
> I forgot to mention that I'm running mdadm 2.6.7.1 (latest in Ubuntu
> Server repositories).

You will need at least 2.6.8 to be able to assemble arrays which are
in the middle of a reshape.  I would suggest 2.6.9 or 3.0.

> 
> I tried forcing the assembly, but as mentioned, I just got an error:
> root@Adam:/var/www# mdadm -Af /dev/md0
> mdadm: superblock on /dev/sdh1 doesn't match others - assembly aborted

This incorrect message is fixed in 2.6.8 an later.

> 
> I know I could've pasted whatever I wrote here, but it seemed
> redundant. I'll keep your hint in mind for the next time, if any
> (hopefully not).

Redundant?  How is that relevant?
If you want help, your goal should be to make it as easy as possible
for people to help you.  Having all information in one email message
is easy.  Having to use a browser to get some of it makes it hard.
Having to register on the website to down load an attachment makes it
nearly impossible.

> 
> This may be of an interest to you:
> root@Adam:/var/www# mdadm -E /dev/sd[a-h]1 | grep Reshap
> sda1  Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)
> sdb1  Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)
> sdc1  Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)
> sdd1  Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)
> sde1  Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)
> sdf1   Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)
> sdg1  Reshape pos'n : 2554257664 (2435.93 GiB 2615.56 GB)
> sdh1  Reshape pos'n : 3357066496 (3201.55 GiB 3437.64 GB)

If you can post that again but without the "grep" I might be able to
be more helpful.  (i.e. the complete output of "mdadm -E /dev/sd[a-h]1").

NeilBrown



> 
> Note that sdd1 was the spare.
> 
> The UUIDs are all the same and the superblock is all similar except
> for the reshaping position of sdg1.
> 
> I didn't try to recreate the array as I've never faced this issue
> before, so I don't know what kind of repercussions it may have.
> 
> What I do know, that at the worst case scenario, I can recreate the
> array out of 7 disks (all but sdg1), but lose about 2.3TB worth of
> data :(
> 
> On Sun, Sep 6, 2009 at 12:32 AM, NeilBrown<neilb@suse.de> wrote:
> > On Sun, September 6, 2009 6:22 am, Majed B. wrote:
> >> Hello all,
> >>
> >> I have posted my problem already here:
> >> http://ubuntuforums.org/showthread.php?p=7900571#post7900571
> >> It also has file attachments of the output of mdadm -E /dev/sd[a-h]1
> >
> > It seems that you need to log in to read the attachements... so I haven't.
> >
> >>
> >> I appreciate any help on this.
> >
> > Hopefully you just need to add "--force" to the assemble command
> > and it would all just work.  However I haven't tested that on an array
> > that is in the process of a reshape so I cannot promise.
> > I might try to reproduce your situation and with some scratch drives
> > and check that mdadm -Af does the right thing, but it won't be a day
> > or so, and as I cannot see the --examine output I might get the
> > situation a bit wrong ... (hint hint: it is always best to post
> > full information rather than pointers to it, unless said information is
> > really really big).
> >
> > NeilBrown
> 
> -- 
>        Majed B.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-09-06 23:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-05 20:22 2 Disks Jumped Out While Reshaping RAID5 Majed B.
2009-09-05 21:32 ` NeilBrown
2009-09-06 10:00   ` Majed B.
2009-09-06 23:52     ` Neil Brown [this message]
2009-09-06 23:55       ` Majed B.
2009-09-07  0:01         ` Majed B.
2009-09-07  0:31           ` NeilBrown
2009-09-07  0:44             ` Majed B.
2009-09-07 16:34               ` Majed B.

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=19108.19281.495223.465327@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=majedb@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