VERSION|0.4.7.1|SUBJECT|Linux Software RAID|CONTENT|I had trouble getting Debian to install with Linux software raid (mdadm).  I was trying to RAID1 the boot partition, and RAID5 the root partition.  I was also going to RAID0 for swap but later decided to just have separate swaps but turn them all on and with the same priority.

The main problem was Debian kept adding an extra /dev/md0 to the mdadm.conf.  The extra entry had the wrong UUID.  During the install process I had fixed mdadm.conf, but had not realized that the initrd also contained an mdadm.conf (with the extra entry).  This caused no end of grief because after each reboot it would show only 1 out of 4 components working [U___] and e2fsck would fail.  It was trying to add a whole disk (sdd) instead of the partitions (sda3,sdb3,sdc3,sdd4).

Running update-initramfs fixed the problem nicely.  I wish I had known about that sooner.|CATEGORIES|1|DATE|1242276837