From: Robin Hill <robin@robinhill.me.uk>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: mdadm 3.1.1: level change won't start
Date: Mon, 21 Dec 2009 09:35:28 +0000 [thread overview]
Message-ID: <20091221093528.GA24168@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <73e903670912201941q44dae7b0t455d1a94f13f5c31@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]
On Mon Dec 21, 2009 at 03:41:33AM +0000, Kristleifur Daðason wrote:
> Hi all,
>
> I wish to convert my 3-drive RAID-5 array to a 6-drive RAID-6. I'm on
> Linux 2.6.32.2 and have mdadm version 3.1.1 with the 32-bit-array-size
> patch from here: http://osdir.com/ml/linux-raid/2009-11/msg00534.html
>
> I have three live drives and three spares added to the array. When I
> initialize the command, mdadm does the initial checks and aborts with
> a "cannot set device shape" without doing anything to the array.
>
> $ mdadm --grow /dev/md_d1 --level=6 --raid-devices=6
> --backup-file=/root/backup.md1_to_r6
> mdadm: metadata format 1.10 unknown, ignored.
> mdadm: metadata format 1.10 unknown, ignored.
> mdadm level of /dev/md_d1 changed to raid6
> mdadm: Need to backup 1024K of critical section..
> mdadm: Cannot set device shape for /dev/md_d1
> mdadm: aborting level change
>
I don't think you can grow and reshape simultaneously. I think you'll
need to do this as two operations - either grow to a 5 disk RAID5 then
reshape to a 6 disk RAID6, or reshape to a 4 disk RAID6 then grow.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-12-21 9:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 3:41 mdadm 3.1.1: level change won't start Kristleifur Daðason
2009-12-21 4:10 ` Michael Evans
2009-12-21 4:39 ` Kristleifur Daðason
2009-12-21 7:25 ` Michael Evans
2009-12-23 23:47 ` Leslie Rhorer
2009-12-30 5:25 ` Leslie Rhorer
2009-12-30 5:37 ` Neil Brown
2009-12-30 5:43 ` Leslie Rhorer
2009-12-21 9:35 ` Robin Hill [this message]
2009-12-21 13:34 ` Kristleifur Daðason
2009-12-21 23:00 ` Neil Brown
2009-12-21 22:57 ` Neil Brown
2009-12-21 23:18 ` Kristleifur Daðason
2009-12-22 18:35 ` Kristleifur Daðason
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=20091221093528.GA24168@cthulhu.home.robinhill.me.uk \
--to=robin@robinhill.me.uk \
--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).