public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: "NeilBrown" <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 10:31:32 +1000 (EST)	[thread overview]
Message-ID: <3b8699b874ea2645458f9295812270a5.squirrel@neil.brown.name> (raw)
In-Reply-To: <70ed7c3e0909061701i4190642ew66827a3aca3c277e@mail.gmail.com>

On Mon, September 7, 2009 10:01 am, Majed B. wrote:
> I have installed mdadm 3.0 and ran -Af and now it's continuing
> reshaping!!!

Excellent.

Based on the --examine info you provided it appears that
/dev/sdg1 reported an error at about 00:10:39 on Wednesday morning
and was evicted from the array.  Reshape was up to 2435GB (37%) at
that point.
Reshape continued until 06:40:04 that morning at which point it
had reached 3201GB (49%).  At that point /dev/sdf1 seems to have
reported an error so the whole array went off line.

When you reassembled with mdadm-3.0 and --force, it excluded sdg1
as that was the oldest, and marked sdf1 as up-to-date, and continued.

The reshape processes will have redone the last few chunks so all
the data will have been properly relocated.

As all the superblocks report that the array was "State : clean",
you can be quite sure that all your data is safe (if they were
"State : active" there would be a small chance some a block or two
was corrupted and a fsck etc would be advised).

It wouldn't hurt to examine your kernel logs to see what sort of
error was tiggered at those two times in case there might be a need
to replace a device.




> sdg1 is not in the list. Is that correct?!  sdg1 was one of the
> array's disks before expanding. So I guess now the array is degraded
> yet is reshaping as if it had 8 disks, correct?

Yes, that is correct.
It may be that sdg has a transient error, or it may have a serious
media or other error.  You should convince yourself that it is working
reliably before adding it back in to the array.



>
> So after the reshaping process is over, I can add sdg1 again and it
> will resync properly, right?

Yes it will, providing no write-errors occur while writing data to it.

NeilBrown


  reply	other threads:[~2009-09-07  0:31 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
2009-09-06 23:55       ` Majed B.
2009-09-07  0:01         ` Majed B.
2009-09-07  0:31           ` NeilBrown [this message]
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=3b8699b874ea2645458f9295812270a5.squirrel@neil.brown.name \
    --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