linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Goswin von Brederlow <goswin-v-b@web.de>
To: Ralf Mueller <ralf@bj-ig.de>
Cc: linux raid <linux-raid@vger.kernel.org>
Subject: Re: Resize Raid5 devices
Date: Thu, 18 Jun 2009 10:27:22 +0200	[thread overview]
Message-ID: <87tz2e7xqt.fsf@frosties.localdomain> (raw)
In-Reply-To: <62E07ACC-0F47-4B5F-94C7-29199ECE46FE@bj-ig.de> (Ralf Mueller's message of "Wed, 17 Jun 2009 16:22:20 +0200")

Ralf Müller <ralf@bj-ig.de> writes:

> After I added a forth 1.5TB disk to the array yesterday and reshaped the
> former 3 disk raid5 to a 4 disk one, I wiped out the 300GB disk raid5,
> set one
> of the 1.2TB partitions faulty, removed it from its raid, removed the
> 300GB
> partition and resized the former 1.2TB partition (in place) to
> 1.5TB. Now I
> added this partition to its raid.
>
> It has been recognized as a former member of this raid - so far so
> good - but
> for whatever reason the raid subsystem decided to start a complete
> recovery.
> So here my question:
>
> What went wrong and what do I have to do to avoid a full recovery for
> the
> next disk?

I guess something wrote to your raid5 while the one disk was
removed. When you added it back the event counter would differ and the
disk needs to be resynced completly. A bitmap would help limiting this
to the parts that have changed. Add an internal bitmap before you
remove the next disk.

Alternatively stop the raid completly, resize all the partitions and
start the raid again. No need to fail/readd each disk in turn.

> I do not feel well with a degraded raid5 in a 10 hour rebuild ...
>
> Regards
> Ralf

MfG
        Goswin
--
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-06-18  8:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 14:22 Resize Raid5 devices Ralf Müller
2009-06-18  8:27 ` Goswin von Brederlow [this message]
2009-06-18  8:36   ` Ralf Müller
2009-06-18 17:31     ` Goswin von Brederlow
     [not found]     ` <19002.61619.121746.923481@notabene.brown>
2009-06-19  8:04       ` Ralf Müller
2009-06-20 14:21       ` Ralf Müller
2009-06-20 21:26         ` NeilBrown
2009-06-21  9:40           ` Ralf Müller

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=87tz2e7xqt.fsf@frosties.localdomain \
    --to=goswin-v-b@web.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=ralf@bj-ig.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;
as well as URLs for NNTP newsgroup(s).