mdadm RAID5 to RAID6 migration

This is obviously more aggressive than a sane person should try to do in one grow, but as you can see it’s very straightforward. First, let’s create a quick five disk RAID5 array. This requires mdadm 3.1.4 or greater.

Next, we’ll migrate this to a 10 disk array. First add 5 disks as spares.

Next, we’ll grow the array by 5 disks and change the RAID level.

Next, if the array is mounted, unmount it.

Run a filesystem check.

Grow, the filesystem to take advantage of the new space.

Finally, update the mdadm.conf file.

Finally, mount your new, much larger array.

Zack

Zack

I love learning new things and trying out the latest technology.

You may also like...

Leave a Reply