I installed Debian Sarge (Boot disk built with the 9/19/04-jigdo, FTP install from local mirror that is updated every night.) on a PIII with 2 80GB ATA-66 drives.
I wanted to have RAID1 for the whole systems, but received a message that RAID was not permitted for / or /boot. I continued to install with RAID1 for /var /usr /home and /tmp. Installation appeared to work correctly, it appeared to create the file systems, etc. However, once I rebooted, no raid devices were active and /etc/fstab did not have the md* devices entered. I investigated further and it appeared that the problem is with the /etc/mdadm/mdadm.conf file. This is the original one that was installed: # Autogenerated by mdcfg. See mdadm.conf(5) for more details on this file. DEVICE partitions ARRAY /dev/md/5 level=raid1 num-devices=2 UUID=7adb2cfd:425f0cf2:e2323e69:6a7726d0 devices=/dev/ide/host0/bus0/target0/lun0/part9,/dev/ide/host0/bus0/target1/lun0/part9 ARRAY /dev/md/4 level=raid1 num-devices=2 UUID=cd13f76c:fa0ce0f7:f0be1e48:4e0cbccb devices=/dev/ide/host0/bus0/target0/lun0/part8,/dev/ide/host0/bus0/target1/lun0/part8 ARRAY /dev/md/3 level=raid1 num-devices=2 UUID=08b856a3:9cbe37ed:cf424b68:5ccdd618 devices=/dev/ide/host0/bus0/target0/lun0/part7,/dev/ide/host0/bus0/target1/lun0/part7 ARRAY /dev/md/2 level=raid1 num-devices=2 UUID=f8023dd5:4a7f11ac:951c315c:4e1120ec devices=/dev/ide/host0/bus0/target0/lun0/part5,/dev/ide/host0/bus0/target1/lun0/part5 These did not mount with /etc/init.d/mdadm-raid. I checked and both the /dev/md/* and the /dev/ide/* devices were missing, so I edited the file to this: # Autogenerated by mdcfg and then modified by JATF. DEVICE partitions ARRAY /dev/md3 level=raid1 num-devices=2 UUID=7adb2cfd:425f0cf2:e2323e69:6a7726d0 devices=/dev/hda9,/dev/hdb9 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=cd13f76c:fa0ce0f7:f0be1e48:4e0cbccb devices=/dev/hda8,/dev/hdb8 ARRAY /dev/md1 level=raid1 num-devices=2 UUID=08b856a3:9cbe37ed:cf424b68:5ccdd618 devices=/dev/hda7,/dev/hdb7 ARRAY /dev/md0 level=raid1 num-devices=2 UUID=f8023dd5:4a7f11ac:951c315c:4e1120ec devices=/dev/hda5,/dev/hdb5 (Note that I re-arranged to 0-3 instead of 2-5. That happened because I had originally made / and /boot raid as well and then had to remove them with the installer, but it didn't re-number them). After these modifications /etc/init.d/mdadm-raid executed and started the devices, however they still appeared not to have any file system installed. I was able to run mkfs.ext3 on each device and then mount them as one would expect. Editing /etc/fstab and copying the files appropriately and the system works fine. I have a working system now, but I figured y'all would want to know that the installer didn't work as expected. Is there something that I did wrong? Did I correct the problem in the correct way, or is there a better way to fix it? Is there something I can do to help the debian-installer project people to fix this? --JATF

