Grub not working under software RAID
Forwarding for reference.
-------- Original Message --------
Subject: Re: Grub not working under software RAID Date: Fri, 01 Apr 2011 11:23:37 -0400 From: Sean Porth <[email protected]> To: Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]>
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 5 lines · Sean Porth
backup:~# cat /proc/mdstatQuoted 4 lines
Quoted 4 lines
Personalities : [linear] [raid1]
md1 : active raid1 sdb3[1] sda3[0]945513536 blocks [2/2] [UU]
Quoted 9 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
md0 : active raid1 sdb1[1] sda1[0]
29294400 blocks [2/2] [UU]How do you access those disks? Do you have /dev/sd[ab][13]. Is it some kind of VM? If none of /dev/sd[ab][13] /dev/sd[ab] exist it probably means that there is a bug in udev. Mdraid detection is probably done in kernel and so presence of nodes under /dev is irrelevant. But any action attempted with devices from userspace is obviously bound to fail.
I manually created the device nodes for /dev/sda and /dev/sdb. I then reran grub-mkdevicemap and now the device.map had devices in it. Rerunning grub-install /dev/md0 now reports no errors.
So it does seem to be a bug with udev and the squeeze upgrade so I'll move this over to a Debian bug.
Thanks for your help!