Thread (7 messages) 7 messages, 4 authors, 2013-02-01

Re: Raid 5 to 6 migration

From: Phil Turmel <hidden>
Date: 2013-02-01 17:50:45

On 02/01/2013 12:17 PM, Dominique wrote:
Hi list,

I was wondering what would be the best way to convert a 6 hdd raid 5 to
raid 6. Ideally without having to reformat everything and lose all the
data in the process. I have backups of the data but I don't look forward
reinstalling everything on that server.
1) Add a seventh drive to the system.

You can do this on the run if you have hotplug-capable sata ports or sas
ports.

2) Add that drive to the array w/ "mdadm --add"
3) Convert array to raid6 w/ "mdadm --grow --level=raid6"

You can do 2 & 3 on the run.

4) Monitor /proc/mdstat to see when it finishes.

HTH,

Phil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help