linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Evans <mjevans1983@gmail.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: Growing raid 5 to 6; /proc/mdstat reports a strange value?
Date: Fri, 29 Jan 2010 23:07:51 -0800	[thread overview]
Message-ID: <4877c76c1001292307u6432d638w810322ba1da3a379@mail.gmail.com> (raw)
In-Reply-To: <20100129232334.45a4103c@notabene>

On Fri, Jan 29, 2010 at 4:23 AM, Neil Brown <neilb@suse.de> wrote:
> On Sun, 24 Jan 2010 19:49:31 -0800
> Michael Evans <mjevans1983@gmail.com> wrote:
>
>> mdX : active raid5 sdd1[8](S) sdb1[7](S) sdf8[0] sdl8[4] sdk2[5]
>> sdc1[6] sdj6[3] sdi8[1]
>>      Y blocks super 1.1 level 5, 128k chunk, algorithm 2 [6/6] [UUUUUU]
>>
>> # mdadm --grow /dev/mdX --level=6 --raid-devices=8
>> --backup-file=/root/mdX.backupfile
>>
>> mdX : active raid6 sdd1[8] sdb1[7] sdf8[0] sdl8[4] sdk2[5] sdc1[6]
>> sdj6[3] sdi8[1]
>>      Y blocks super 1.1 level 6, 128k chunk, algorithm 18 [8/9] [UUUUUU_U]
>>      [>....................]  reshape =  0.0% (33920/484971520)
>> finish=952.6min speed=8480K/sec
>>
>> !!! mdadm 3.1.1 I wanted an 8 device raid-6;  Why do you show 9?
>
> That is weird isn't it.  It is showing that 8 devices are in the array, of
> which 9 are working.  That cannot be right.
> More worrying is that the second last device claim to not be present, which
> doesn't seem right.
>
>
>>
>> What is it showing me now???
>>
>> blocks super 1.1 level 6, 128k chunk, algorithm 2 [8/10] [UUUUUUUU]
>>
>
> So now of the 8 devices, 10 are working!!  At least all are present.
>
>
>> ... Did it actually do what I want but just show me the wrong result
>> with kernel 2.6.32-gentoo-r2
>
> Some simple testing suggests it did do what you want, but reported something
> silly in /proc/mdstat.
>
> I'll see if I can work out what is happening.
>
> Thanks for the report.
>
> NeilBrown
>
>

As a follow-up:
* Looking at the device via mdadm --detail /dev/mdX (while still
invalid in /proc/mdstat) showed the correct information.
* When I stopped and re-started the array the information in
/proc/mdstat was valid.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-01-30  7:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-25  3:49 Growing raid 5 to 6; /proc/mdstat reports a strange value? Michael Evans
2010-01-29 12:23 ` Neil Brown
2010-01-30  7:07   ` Michael Evans [this message]
2010-02-10  2:12   ` Neil Brown

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=4877c76c1001292307u6432d638w810322ba1da3a379@mail.gmail.com \
    --to=mjevans1983@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).