[dm-devel] Re: ATARAID/FakeRAID/HPTRAID/PDCRAID as dm targets?

Carl-Daniel Hailfinger c-d.hailfinger.kernel.2004 at gmx.net
Sun Mar 21 18:40:11 UTC 2004


Jeff Garzik wrote:
> Kevin P. Fleming wrote:
> 
>> Jeff Garzik wrote:
>>
>>> So go ahead, and I'll lend you as much help as I can.  I have the
>>> full Promise RAID docs, and it seems like another guy on the lists
>>> has full Silicon Image "medley" RAID docs...
>>
>>
>> If these "soft" RAID implementations only support RAID-0/1/0+1/1+0, is

Not all of them. Some are RAID-5.


>> there really any need for a new DM target? Wouldn't you just need a
>> userspace tool to recognize the array and do the "dmsetup" operations
>> to make it usable?
> 
> 
> Ideally yes.  I don't see an in-tree RAID1 dm target though....

IIRC, even a RAID-5 dm target is on its way to mainline and it was called
something like "the last step to obsolete md". So the userspace approach
seems the way to go.

That leaves me with the following questions:

- The kernel 2.4 code detects ATARAIDs by usage of deep kernel knowledge
about the specific harddisk (depending on the phase of the moon, it uses
head/sect/cyl or LBA). Is all of this info available to userspace?

- Would an EVMS plugin or a simple script calling dmsetup be the way to
go? If I go the dmsetup route, is there any chance to get partition
detection on top of the ATARAID for free (by calling another dm tool)?


Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/




More information about the dm-devel mailing list