fc10, x86_64
I have raid built into my motherboard (nforce4), and I'd like to use dmraid to put 2 drives into raid1, and use that as my main drive. This worked in FC9, and the installer for FC10 led me to believe this was possible in FC10 as well (the fc10 installer recognized that I wanted to install to nvidia_ecfcjagb, which is the raid device made up of sda and sdb).
Now that I've rebooted into fc10, it looks like there's no raid.
Code:
ls /dev/mapper/
control VolGroup00-LogVol00 VolGroup00-LogVol01
lvscan
Found duplicate PV HHgESgrUTtLOMDzzY5WyJ7jfbdCeqQ08: using /dev/sdb3 not /dev/sda3
ACTIVE '/dev/VolGroup00/LogVol00' [217.47 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [3.91 GB] inherit
Even though dmraid knows the two disks can be raided:
Code:
dmraid -r
/dev/sdb: nvidia, "nvidia_ecfcjagb", mirror, ok, 976773166 sectors, data@ 0
/dev/sda: nvidia, "nvidia_ecfcjagb", mirror, ok, 976773166 sectors, data@ 0
But it won't let me mount the array:
Code:
dmraid -ay
RAID set "nvidia_ecfcjagb" was not activated
And here's the relevant output of fdisk -l
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffb0f8c2
Device Boot Start End Blocks Id System
/dev/sda1 * 1 31871 256003776 7 HPFS/NTFS
/dev/sda2 31872 31896 200812+ 83 Linux
/dev/sda3 31897 60801 232179412+ 8e Linux LVM
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffb0f8c2
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 31871 256003776 7 HPFS/NTFS
/dev/sdb2 31872 31896 200812+ 83 Linux
/dev/sdb3 31897 60801 232179412+ 8e Linux LVM
and from grub.conf:
title Fedora (2.6.27.5-117.fc10.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.27.5-117.fc10.x86_64 ro root=UUID=233f2ef0-24f2-403c-862b-1acb4f4be187 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.x86_64.img
I used to be able (in fc9, after kernel upgrades) to edit 'init' inside my initrd.*.img file and make sure it had lines similar to:
Code:
insmod /lib/dm-mod.ko
insmod /lib/dm-mirror.ko
insmod /lib/dm-zero.ko
insmod /lib/dm-snapshot.ko
rmparts sdb
rmparts sda
dm create nvidia_ecfcjagb .. ... .. .. ..
dm partadd nvidia_ecfcjagb
But that doesn't seem to work anymore in fc10... (because there is no dm-mod.ko file to load...)
Any ideas on how to get dmraid to load when I reboot?