linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Edward Siefker <hatta00@fastmail.fm>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid 5 to 6 grow stalled
Date: Sun, 10 Apr 2011 07:30:39 +1000	[thread overview]
Message-ID: <20110410073039.2d9683ac@notabene.brown> (raw)
In-Reply-To: <1302366232.12096.1439264077@webmail.messagingengine.com>

On Sat, 09 Apr 2011 09:23:52 -0700 "Edward Siefker" <hatta00@fastmail.fm>
wrote:

> I have a 3 disk raid-5 array I want to convert to a 4 disk raid-6 array.
> I added the 4th disk as a spare, and thought that it would get used
> automatically when I converted it to 6, but instead it created a
> degraded
> raid 6 array.  So I removed the spare and added it back to the array to
> get it to rebuild.  It did start rebuilding, but stalled out. 
> 
> Here's some console output showing what I did:
> 
> root@iblis:/home/hatta# mdadm --grow /dev/md2 --level 6 --raid-devices 4
> --backup-file=/mnt/sda6/yo
> mdadm level of /dev/md2 changed to raid6
> root@iblis:/home/hatta# cat /proc/mdstat
> Personalities : [raid10] [raid6] [raid5] [raid4]
> md2 : active (auto-read-only) raid6 sdd1[0] sde1[3](S) sdf1[2] sdc1[1]
>       2930271872 blocks level 6, 64k chunk, algorithm 18 [4/3] [UUU_]
> 
> root@iblis:/home/hatta# mdadm /dev/md2 --remove /dev/sde1
> mdadm: hot removed /dev/sde1 from /dev/md2
> root@iblis:/home/hatta# mdadm /dev/md2 --add /dev/sde1
> mdadm: re-added /dev/sde1
> root@iblis:/home/hatta# cat /proc/mdstat  
> Personalities : [raid10] [raid6] [raid5] [raid4]
> md2 : active raid6 sde1[4] sdd1[0] sdf1[2] sdc1[1]
>       2930271872 blocks level 6, 64k chunk, algorithm 18 [4/3] [UUU_]
>       [>....................]  recovery =  0.0% (8192/1465135936)
>       finish=11899.9min speed=2048K/sec
> ...
> ...
> ...
> md2 : active raid6 sde1[4] sdd1[0] sdf1[2] sdc1[1]
>       2930271872 blocks level 6, 64k chunk, algorithm 18 [4/3] [UUU_]
>       [>....................]  recovery =  0.0% (8192/1465135936)
>       finish=2954174.4min speed=8K/sec
> 
> 
> What's going on here?

Doesn't look good..
What version of mdadm?  What kernel?

NeilBrown

  parent reply	other threads:[~2011-04-09 21:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-09 16:23 Raid 5 to 6 grow stalled Edward Siefker
2011-04-09 16:55 ` Edward Siefker
2011-04-09 21:30 ` NeilBrown [this message]
2011-04-10 15:02   ` Edward Siefker
2011-04-10 15:09     ` Mathias Burén
2011-04-10 21:52     ` NeilBrown

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=20110410073039.2d9683ac@notabene.brown \
    --to=neilb@suse.de \
    --cc=hatta00@fastmail.fm \
    --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).