Re: ATARAID/FakeRAID/HPTRAID/PDCRAID as dm targets?
From: Carl-Daniel Hailfinger
Date: Sun Mar 21 2004 - 13:45:29 EST
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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/