Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263687AbUCUSlr (ORCPT ); Sun, 21 Mar 2004 13:41:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263689AbUCUSlr (ORCPT ); Sun, 21 Mar 2004 13:41:47 -0500 Received: from mail.gmx.de ([213.165.64.20]:44011 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S263687AbUCUSlp (ORCPT ); Sun, 21 Mar 2004 13:41:45 -0500 X-Authenticated: #21910825 Message-ID: <405DE18B.7090505@gmx.net> Date: Sun, 21 Mar 2004 19:40:11 +0100 From: Carl-Daniel Hailfinger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: de, en MIME-Version: 1.0 To: Jeff Garzik CC: "Kevin P. Fleming" , Linux Kernel Mailing List , Bartlomiej Zolnierkiewicz , Wilfried Weissmann , Device mapper devel list , Arjan van de Ven Subject: Re: ATARAID/FakeRAID/HPTRAID/PDCRAID as dm targets? References: <405C8B39.8080609@gmx.net> <405CAEC7.9080104@pobox.com> <405CFC85.70004@backtobasicsmgmt.com> <405DD9E2.4030308@pobox.com> In-Reply-To: <405DD9E2.4030308@pobox.com> X-Enigmail-Version: 0.76.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1558 Lines: 47 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/