RAID50 mdadm1 min read

Here’s a brief overview of how you’d do this. First, you’d need to create two new RAID5 arrays (wait for the parity calculation to complete), then add each of them to the md stripe. You’d need 6 disks at a minimum to set this up. It would look something like this…

This would give you a RAID50. In the future, if you wanted to expand, you’d need to add another RAID5 array to the set disks to grow the array. Here’s what that would look like…

Then, you’ll need to grow your filesystem to take advantage of the new space. I didn’t do any performance testing in this configuration, so I can’t speak to performance penalties. I can see where managing this could be tricky in the case of a disk failure and could be detrimental to your data, but it’s worth showing how to set this up. mdadm is a very versatile tool and makes software RAID a very manageable thing.

Zack

Zack

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

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.