All of lore.kernel.org
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: John Robinson <john.robinson@anonymous.org.uk>
Cc: Linux RAID <linux-raid@vger.kernel.org>,
	Laurent CARON <lcaron@unix-scripts.info>
Subject: Re: Unable to grow RAID 6 array
Date: Wed, 18 May 2011 18:56:53 +1000	[thread overview]
Message-ID: <20110518185653.3dce0e9b@notabene.brown> (raw)
In-Reply-To: <4DD37C24.6040307@anonymous.org.uk>

On Wed, 18 May 2011 08:58:28 +0100 John Robinson
<john.robinson@anonymous.org.uk> wrote:

> On 18/05/2011 08:31, Laurent CARON wrote:
> > Hi,
> >
> > I'm basically trying to grow a RAID-6 array (5 disks).
> >
> > I did change the disks one by one (change, rebuild, ...).
> >
> > I finally did delete the last partition (the one I wanted to enlarge and
> > recreated it with the exactly same start but different end).
> >
> > When I try to grow the array, I get:
> >
> > # mdadm --grow --size max /dev/md2
> > mdadm: component size of /dev/md2 has been set to 732458496K
> [...]
> >
> > If any of you can help me to sort this out It would be nice.
> 
> You need to tell mdadm the underlying devices have grown; do this by 
> stopping the array then assembling it again with --update=devicesize. 
> Then when you --grow --size max you will get the result you are looking for.
> 

Alternately you could get this latest mdadm from 
   git://neil.brown.name/mdadm/

and run the "--grow --size max" command again.  It now updates the device
size too.
But John's answer is probably easiest.

NeilBrow

  reply	other threads:[~2011-05-18  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18  7:31 Unable to grow RAID 6 array Laurent CARON
2011-05-18  7:58 ` John Robinson
2011-05-18  8:56   ` NeilBrown [this message]
2011-05-18  9:02     ` Laurent CARON

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=20110518185653.3dce0e9b@notabene.brown \
    --to=neilb@suse.de \
    --cc=john.robinson@anonymous.org.uk \
    --cc=lcaron@unix-scripts.info \
    --cc=linux-raid@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.