3

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?

user9517
  • 115,471
  • 20
  • 215
  • 297
martinald
  • 78
  • 4

1 Answers1

7

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

mdadm --detail --scan > /etc/mdadm/mdadm.conf

after sucessfully building the array.

Javier
  • 9,268
  • 2
  • 24
  • 24