[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Software RAID and Fakeraid
From: |
Phillip Susi |
Subject: |
Re: Software RAID and Fakeraid |
Date: |
Tue, 30 Nov 2010 14:54:40 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 |
On 11/25/2010 5:26 AM, John Sheu wrote:
> What's the preferred way to differentiate BIOS fakeraid from regular
> software mdraid?
The only way I know of is detecting that it is a dmraid device as
opposed to md, which is why grub does it that way. This worked well in
the past when each tool exclusively handled one type of raid.
> I ask this as I'm booting with GRUB2 off a system that has one of those
> Intel fakeraid chipsets. As of a few months ago, the mdadm package has
> supported these fakeraid setups, so the RAID array comes up as a /dev/md###
> device. This is unfortunate, as GRUB2 assumes that any device of the type
> /dev/md### must be a pure software RAID device, and in
> util/grub-setup.c:939, tries to install itself to the RAID members
> individually:
For grub to support fakeraids activated by the md driver, it needs some
way to find out that it is actually a fake raid, and not a software
raid. Adding linux-raid to Cc list to see if they can suggest a way of
doing that.