Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Leslie Rhorer <lrhorer@satx.rr.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Confused about reshape?
Date: Mon, 31 May 2010 16:48:44 +1000	[thread overview]
Message-ID: <20100531164844.0f15838e@notabene.brown> (raw)
In-Reply-To: <B5.9D.03062.922530C4@cdptpa-omtalb.mail.rr.com>

On Mon, 31 May 2010 01:07:38 -0500
"Leslie Rhorer" <lrhorer@satx.rr.com> wrote:

> > -----Original Message-----
> > From: Neil Brown [mailto:neilb@suse.de]
> > Sent: Monday, May 31, 2010 12:58 AM
> > To: Leslie Rhorer
> > Cc: linux-raid@vger.kernel.org
> > Subject: Re: Confused about reshape?
> > 
> > On Mon, 31 May 2010 00:32:07 -0500
> > "Leslie Rhorer" <lrhorer@satx.rr.com> wrote:
> > 
> > > > Just tell mdadm what you want and it will do it, or report that it
> > cannot.
> > >
> > > 	Um, OK, I tried it, and it failed:
> > >
> > > Backup:/# mdadm --grow /dev/md0 --level=6
> > > mdadm: no changes to --grow
> > 
> > cat /proc/mdstat ??
> > mdadm -D /dev/md0 ??
> > mdadm -V ??
> > uname -a ??
> > 
> > Maybe add -vv to the --grow
> 
> /dev/md0:
>         Version : 1.02
>   Creation Time : Sun Jul 12 20:44:02 2009
>      Raid Level : raid5
>      Array Size : 10255969024 (9780.85 GiB 10502.11 GB)
>   Used Dev Size : 1465138432 (1397.26 GiB 1500.30 GB)
>    Raid Devices : 8
>   Total Devices : 9
>     Persistence : Superblock is persistent
> 
>   Intent Bitmap : Internal

You'll probably need to remove the bitmap for --grow to work... I really
should fix that.

> 
>     Update Time : Mon May 31 00:44:25 2010
>           State : active
>  Active Devices : 8
> Working Devices : 9
>  Failed Devices : 0
>   Spare Devices : 1
> 
>          Layout : left-symmetric
>      Chunk Size : 256K
> 
>            Name : Backup:0  (local to host Backup)
>            UUID : 940ae4e4:04057ffc:5e92d2fb:63e3efb7
>          Events : 987130
> 
>     Number   Major   Minor   RaidDevice State
>        0       8        0        0      active sync   /dev/sda
>        1       8       16        1      active sync   /dev/sdb
>        2       8       32        2      active sync   /dev/sdc
>        8       8       48        3      active sync   /dev/sdd
>        4       8       64        4      active sync   /dev/sde
>        5       8       80        5      active sync   /dev/sdf
>        6       8       96        6      active sync   /dev/sdg
>        7       8      112        7      active sync   /dev/sdh
> 
>        9       8      128        -      spare   /dev/sdi
> 
> Backup:/tmp# mdadm -V >> temp
> mdadm - v3.0.3 - 22nd October 2009

I should have checked when you mention the mdadm version in the first email.
You need at least 3.1.1 to convert RAID5 to RAID6.

NeilBrown


> 
> Backup:/tmp# uname -a
> Linux Backup 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64
> GNU/Linux
> 
> Backup:/tmp# mdadm --grow -vv /dev/md0 --level=6 >> temp
> mdadm: no changes to --grow
> 
> 
> 


  reply	other threads:[~2010-05-31  6:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-30 23:29 Confused about reshape? Leslie Rhorer
2010-05-31  2:54 ` Neil Brown
2010-05-31  4:11   ` Leslie Rhorer
2010-05-31  4:50     ` Neil Brown
2010-05-31  5:25       ` Leslie Rhorer
2010-05-31  5:32       ` Leslie Rhorer
2010-05-31  5:57         ` Neil Brown
2010-05-31  6:07           ` Leslie Rhorer
2010-05-31  6:48             ` Neil Brown [this message]
2010-05-31  6:55               ` Leslie Rhorer
2010-05-31  9:12                 ` Leslie Rhorer

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=20100531164844.0f15838e@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=lrhorer@satx.rr.com \
    /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