From: Michael Ole Olsen <gnu@gmx.net>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: reshape raid5 to raid6
Date: Wed, 24 Jun 2009 12:27:29 +0200 [thread overview]
Message-ID: <20090624102729.GY2828@rlogin.dk> (raw)
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
Is it possible to reshape my /dev/md0 raid5 into raid6?
I found the following recipe in the docs:
mdadm --create /dev/md0 -l6 -n4 /dev/sdb1 /dev/sdc1 /dev/sdd1 missing
I have 9 disks in my raid5, would i then do:
[1] mdadm --create /dev/md0 -l6 -n10 /dev/sda /dev/sdb ... missing
i.e. only the first 9 drives and then hot add a new device to get it to
reshape and add the extra parity to all drives?
mdadm --add /dev/md0 /dev/sdk ?
I would guess command [1] would give problems as md0 is an active array
will it work if i --stop the array first so that i can reshape to raid6?
I couldn't really find much information on this, some say it is impossible
without recreating the array? (So i ask here first before i try, as I dont
want to risk my data, even though I have backups of the important
data)
Any advice would be nice
/Michael Ole Olsen
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
next reply other threads:[~2009-06-24 10:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 10:27 Michael Ole Olsen [this message]
2009-06-24 11:20 ` reshape raid5 to raid6 NeilBrown
[not found] ` <aebf5d970906240515y6c616250lca1cedea32927b00@mail.gmail.com>
2009-06-24 12:17 ` Beolach
2009-07-09 8:36 ` Mikael Abrahamsson
2009-07-09 9:35 ` NeilBrown
2009-06-24 13:32 ` Michael Ole Olsen
2009-06-24 16:10 ` Billy Crook
2009-06-26 2:00 ` Neil Brown
2009-07-15 3:29 ` Michael Ole Olsen
2009-07-15 3:58 ` 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=20090624102729.GY2828@rlogin.dk \
--to=gnu@gmx.net \
--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).