Raid array on partition bleeds through to block device

view full story

http://serverfault.com – Recently, I added to new disks to a machine. I created one partition on each drive, and used software raid to set up a raid1 between the partitions. However, for some reason after I add the partitions to the array, mdadm also detects the superblock in the underlying block devices. This causes a lot of problems during boot, as udev tries to assemble arrays incrementally and stumbles on /dev/sda before /dev/sda1. As you can see below, only md3 suffers from this problem. It was assembled with mdadm -A /dev/md3 /dev/sda1 /dev/sdb1. Have I set up these partitions incorrectly somehow? root@blaster (HowTos)