I have a raid-1 array on sda6 and sdb6 The drives are connected to a Via82xxx sata raid controller (it calles itself raid controller but it doesn't seem to support raid so I'm doing software raid here. The controller with it's the disks gets detected on startup but when It came to raid it said that it could not find any raid arrays. Maybe I'm doing something wrong, but this doesn't seem ok to me. Reproducible: Always Steps to Reproduce: Boot from the 2005.0 livecd, create devicenodes md0-md? partition /dev/sda (1 (linux), 2(extended), 5(swap), 6(linux)) partition /dev/sdb (1 (linux), 2(extended), 5(swap), 6(autoraid)) do: mdadm --create -l 1 --raid-devices=2 /dev/md0 missing /dev/sdb6 reboot the machine Actual Results: does not detect the raid array Expected Results: should detect the raid arrays and provide me a device node for md0
Shouldn't both of your partition 6 be type: fd?
I am not sure what you are trying to do here. Either you get the raid controller to do raid (almost every controller will do at least Raid 0 and 1) by going into its bios and creating the array, or you do it in software under linux. If you chose the first option then the chipset will present a single block device to linux and it will appear correctly. If that is not working then you will have to set up software raid, but as Chris points out then you will need to make sure that your partitions are equal and that they have the appropriate fs type flags. You current snippet shows that is not the case. Please see http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html for more information on how to do this and concepts involved. I can use and create software raid with livecd so I think this should be marked as resolved works for me.
...ok