On 10 Oct 2002, Stephen Lee wrote: > Can anyone point me to an example of how to create a raid10 with 4 scsi > drives using mdadm? I have created raid1 and raid5 using mdadm so it's a > matter of getting the md device naming and grouping correct. This is for > a Redhat7.3 box. First create each of the mirrors: (dont forget to susbstitute the proper SCSI devices for your system) mdadm -Cv /dev/md0 -l1 -n2 /dev/sda1 /dev/sdb1 mdadm -Cv /dev/md1 -l1 -n2 /dev/sdc1 /dev/sdd1 Now create a RAID-0 that uses /dev/md0 and /dev/md1 as its component disks: mdadm -Cv /dev/md2 -l0 -n2 /dev/md0 /dev/md1 So your RAID-10 is at /dev/md2 and it contains the mirror member arrays /dev/md0 and /dev/md1. Don't forget that you need to start /dev/md0 and /dev/md1 before you can start /dev/md2. --- Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html