Take the 2-minute tour ×

I'm using mdadm to create a raid1 mirror across two disks. I can create my /dev/md5 array perfectly using the tools, but it does not automatically reload my /dev/md5 when I restart, I need to manually recreate the array.

Am I missing something obvious here?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

make sure your partitions are of type fd: Linux raid autodetect. Also, create the /etc/mdadm/mdadm.conf file, the easiest way is with:


after sucessfully building the array.

share|improve this answer
+1 I've had to do this before also. –  Coops Apr 29 '10 at 15:41
you should probably append (>>) to mdadm.conf. I think this is also required if you are using whole disks instead of partitions. –  hometoast Apr 29 '10 at 16:16

Your Answer


