All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Goryachev <adam@websitemanagers.com.au>
To: linux-raid@vger.kernel.org
Subject: Can't expand linear RAID on top of 2 x RAID1
Date: Fri, 22 Jun 2012 20:41:33 +1000	[thread overview]
Message-ID: <4FE44BDD.302@websitemanagers.com.au> (raw)

I have expanded my system over time, I started with 2 x 2TB drives in
RAID1 (md2)

I then added 2 x 750GB drives, configured as RAID1 (md1)
Then created a third raid (md3) as linear with the md2 + md1

Finally, I've upgraded the 2 x 750G to 2 x 1TB drives (one at a time).

I then did a mdadm --grow to expand the RAID1 from 750G to 1TB

The problem I am having is that I can't expand the linear (md3) array to
grow the extra 250G of space.

Could anyone suggest how I might be able to get the extra 250G of space
to become available?

keep:~# cat /proc/mdstat
Personalities : [raid1] [linear]
md3 : active linear md2[0] md1[1]
      2686081193 blocks super 1.2 0k rounding
     
md1 : active (auto-read-only) raid1 sdb1[2] sdd1[3]
      976758977 blocks super 1.2 [2/2] [UU]
     
md2 : active (auto-read-only) raid1 sda1[0] sdc1[2]
      1953510841 blocks super 1.2 [2/2] [UU]
     
unused devices: <none>

keep:~# mdadm --grow /dev/md3 --size=max
mdadm: component size of /dev/md3 has been set to 0K

There is nothing logged for dmesg after the above command, no change to
/proc/mdstat.

I have tried a reboot with no change either.

Thanks for any assistance, I'd really appreciate it.

Regards,
Adam

             reply	other threads:[~2012-06-22 10:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 10:41 Adam Goryachev [this message]
2012-06-22 23:05 ` Can't expand linear RAID on top of 2 x RAID1 Stan Hoeppner
2012-06-23  2:53   ` Adam Goryachev
2012-06-23 12:18     ` Stan Hoeppner
2012-06-24 14:17       ` Stan Hoeppner
2012-06-25  2:52     ` NeilBrown
2012-06-29  7:53       ` Adam Goryachev

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=4FE44BDD.302@websitemanagers.com.au \
    --to=adam@websitemanagers.com.au \
    --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.