So, I've created my /etc/raidtab file. I've done the "modprobe md" and "modprobe dm-mod" commands. I'm able to "cat /proc/mdstat" which shows that I have no personalities and no unused devices. But, when I try to use the "mkraid" command, I get the following error:
# mkraid /dev/md0
cannot determine md version: no MD device file in /dev.
The fix (according to the wiki is):
cd /dev ; MAKEDEV md
The key resource to setting up Gentoo on a RAID:
Gentoo Install on Software RAID
Now, they're not putting their swap file on a RAID1. The reason that I put my swap in a RAID1 partition is that I don't want the system to crash if a drive dies (which it will, if you have 2 seperate, non-RAID swap partitions). It's a question of whether you want a slightly higher level of stability, or if you want speed.
Other possible gotches:
1) (not confirmed) After you fdisk, you may want to reboot so make sure that the disks are no longer in use. Otherwise you may get "bd_claim" errors when trying to setup the RAID array.
(still fighting with this a few hours later... going to start a new post)
1 comment:
the same bd_claim errors are happening to me!
Post a Comment