1

How to recreate a RAID 10 array with mdadm

view story
linux-howto

http://serverfault.com – So our virtual machine has broken (it's actually a Linux machine in Azure) on which we were running a RAID10 array of 4 disks. It's an ubuntu box. From what I can tell the four data disks are fine, it's just the VM that is screwed. Now, I could detach the disks from this machine and create a new linux instance, and then attach the disks to that new instance. Question is, how do I get mdadm to setup a RAID10 array using the data on those disks (I don't want it erased as a new drive). Also, does it matter in what order I attach the disks or will mdadm figure out which disk is which in the arra (HowTos)