Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Daniel J. R. May" <daniel.may@kada-media.com>
To: linux-raid@vger.kernel.org
Subject: Re: mdadm RAID 5 reshape not working
Date: Wed, 14 Oct 2015 21:37:13 +0100	[thread overview]
Message-ID: <1444855033.3967.23.camel@kada-media.com> (raw)
In-Reply-To: <1444850463.3967.19.camel@kada-media.com>

On Wed, 2015-10-14 at 20:21 +0100, Daniel J. R. May wrote:
> I attempted to add a disk to an mdadm RAID 5 array with the
> following:
> 
> mdadm --manage /dev/md1 --add /dev/sdf1
> mdadm --grow --raid-devices=5 --backup-file=/root/md1-grow.bak
> /dev/md1
> 
> These command gave no errors, but although mdadm reports that the
> array
> is reshaping it does not seem to have done anything after a couple of
> hours:

Having hunted around on this mailing list I see that this is a pretty
common problem. I was able to get my reshape going by issuing:

mdadm --grow --continue --backup-file=/root/md1-grow.bak /dev/md1

So we're now off and running!

[root@sulphur ~]# cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] 
md1 : active raid5 sdf1[5] sde1[4] sdb1[0] sdd1[2] sdc1[1]
      11720656896 blocks super 1.2 level 5, 512k chunk, algorithm 2
[5/5] [UUUUU]
      [>....................]  reshape =  0.3% (15161292/3906885632)
finish=1270.9min speed=51032K/sec
      bitmap: 0/30 pages [0KB], 65536KB chunk

Best wishes,

Dan

      reply	other threads:[~2015-10-14 20:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 19:21 mdadm RAID 5 reshape not working Daniel J. R. May
2015-10-14 20:37 ` Daniel J. R. May [this message]

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=1444855033.3967.23.camel@kada-media.com \
    --to=daniel.may@kada-media.com \
    --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