Comment 19 for bug 136804

Revision history for this message
Vojta Grec (vojtagrec) wrote : Re: dmraid not correctly detecting nforce raid

Hi there!

Recently I have installed hardy x86_64 with nvraid configured as RAID 0 (mirroring), no problems with dmraid during the install. Then I installed Windows in a different partition of the array and then booted the LiveCD to reinstall grub and dmraid failed just like in the comments above.

I have solved this issue and it is deadly simple: if some of your RAID partitions is formatted as swap, the LiveCD mounts it improperly while booting and that prevents dmraid from functioning.

Described in detail: I'm mirroring two SATA discs, /dev/sda and /dev/sdb. Together they make an array (/dev/nvidia_something). But because the LiveCD doesn't contain dmraid by default, these two disc are not detected as an array on boot and both swap partitions (/dev/sda7 and /dev/sdb7 in my case) are mounted separately (instead of /dev/nvidia_something7 which of course does not exist on boot). And that prevents dmraid of setting up the array devices. So deactivate the swap partitions with "swapoff" and everything should go on smoothly.