[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-setup: error: no mapping exists for ... in GRUB2 v1.97.1 on fak
Re: grub-setup: error: no mapping exists for ... in GRUB2 v1.97.1 on fake (IMSM) RAID
Mon, 04 Jan 2010 10:23:20 +0100
Please use proper quoting. It doestn't make it easier to read if your
answer is directly below my sentences without any special quoting.
Am Sonntag, den 03.01.2010, 20:29 -0800 schrieb Lapohos Tibor:
> Thanks for your help. Please see my further questions below.
> Based on your input, I cannot make this work, right?
Probable we could implement support for the newly added metadata
formats, but that's IMO very very low priority.
The normal ones are more important, especially now that 1.1 became the
default instead of 0.90.
> I made a Baazar branch for metadata 1.x support, but it's still
> At least RAID != 1.
> So it works for RAID 1, and it is "broken" for the other RAID levels?
It seems so. I haven't found out why exactly yet.
> But I tested RAID 1 only with grub-probe, not actual booting from it.
> And it's a bit complicated to get grub-probe working, because the
> devicename must macht the name stored in the superblock.
> Would I need to be able to achieve all this as I am assembling the
> RAID devices?
You can also just rename the device files afterwards, but before you run
grub-install or update-grub/grub-mkconfig.
> If you want to try it nevertheless:
> bzr co http://bzr.savannah.gnu.org/r/grub/people/fzielcke/raid
> Thanks, I'll give it a shot once I get a better grasp of what I'm
> device.map isn't used at all for mdraid devices.
> But my device is not "mdraid" type device, is it? The kernel does not
> detect it as it loads and starts running. The "mdraid" devices would
> be formed of "fd" type partitions, would they not?
No. mdraid devices can have any partition type you want. As with any
Linux filesystem etc. pp.
fd has only the special meaning that Linux autoassembles them. But the
prefered method is to let mdadm inside the initrd/initramfs handle it.
And then it doestn't matter at all what partition type you use.
/dev/mdXXX and /dev/md/XXX are all mdraid devices. As long as mdadm -Q
--detail works on it. Doestn't matter what mdraid metadata you use.
> (hdX,Y) devices are normal disk devices though and not the RAID ones.
> They're (mdX) and (mdX,Y) so it only works with RAID 1, but only by
> using one disk of them.
> OK, I understand this. But then I must ask, how come the grub shell
> (got into by booting from a usb key) lists (hdX,Y) devices for all
> these "imsm" contained devices and partitions?
Ok I should have written (hdx,y) devices are normal BIOS devices.
> Thanks again for your help,
Proud Debian Maintainer and GNU GRUB developer