It appears that Fedora 12 moved to a new boot init system called dracut. Sadly due to a number of odd circumstances this has caused me much pain. Here's my basic config
- /boot and / on /dev/sda
- /var and /home on a partitioned software raid on /dev/sd{cd}
# dmraid -r
/dev/sdd: sil, "sil_aiabafajfgba", mirror, ok, 488395120 sectors, data@ 0
/dev/sdc: sil, "sil_aiabafajfgba", mirror, ok, 488395120 sectors, data@ 0
fprintf(stderr, Name ": WARNING %s and %s appear"
" to have very similar superblocks.\n"
" If they are really different, "
"please --zero the superblock on one\n"
" If they are the same or overlap,"
" please remove one from %s.\n",
devices[best[i]].devname, devname,
inargv ? "the list" :
"the\n DEVICE list in mdadm.conf"
Drats! the mirrored fake raid had already mangled my second drive by duplicating the superblock! Plus since all this was going on in dracut I couldn't fix it. So I removed the nodmraid option in grub during boot and dug a little deeper. I found that I could keep dracut from doing all this nonsense by adding the following kernel options:
rd_NO_MD rd_NO_DM nodmraid
mdadm --zero-superblock /dev/sdd1
And then rebooting (again!)
# mdadm --manage /dev/md_d0 --add /dev/sdd1
To get rid of the false-positive fake raid setup I found that you can do this with the dmraid tool itself:
[root@mirth ~]# dmraid -E -r /dev/sdd
Do you really want to erase "sil" ondisk metadata on /dev/sdd ? [y/n] :y
[root@mirth ~]# dmraid -E -r /dev/sdc
Do you really want to erase "sil" ondisk metadata on /dev/sdc ? [y/n] :y