linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Linux RAID <linux-raid@vger.kernel.org>
Cc: Laurent CARON <lcaron@unix-scripts.info>
Subject: Re: Unable to grow RAID 6 array
Date: Wed, 18 May 2011 08:58:28 +0100	[thread overview]
Message-ID: <4DD37C24.6040307@anonymous.org.uk> (raw)
In-Reply-To: <20110518092327.airaicao@trusted.unix-scripts.info>

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.

Cheers,

John.


  reply	other threads:[~2011-05-18  7:58 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 [this message]
2011-05-18  8:56   ` NeilBrown
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=4DD37C24.6040307@anonymous.org.uk \
    --to=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 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).