linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reshape raid5 to raid6
@ 2009-06-24 10:27 Michael Ole Olsen
  2009-06-24 11:20 ` NeilBrown
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Ole Olsen @ 2009-06-24 10:27 UTC (permalink / raw)
  To: linux-raid

[-- 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 --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-07-15  3:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 10:27 reshape raid5 to raid6 Michael Ole Olsen
2009-06-24 11:20 ` 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

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).