From owner-freebsd-scsi@FreeBSD.ORG Wed Jun 23 14:46:07 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5359716A4CE; Wed, 23 Jun 2004 14:46:07 +0000 (GMT) Received: from web.portaone.com (mail.russia.cz [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E2B43D48; Wed, 23 Jun 2004 14:46:06 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from portaone.com (localhost [127.0.0.1]) (authenticated bits=0) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i5NEk3QO050288; Wed, 23 Jun 2004 16:46:04 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <40D997A4.9050900@portaone.com> Date: Wed, 23 Jun 2004 17:45:56 +0300 From: Maxim Sobolev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, ru, uk MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <5.2.1.1.0.20040621135534.068fef40@server01.chassis00.xsnetworks.net> <40D7E0B7.1000905@portaone.com> <40D8D217.5000808@freebsd.org> <40D95FDC.9060802@portaone.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-scsi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: HostRaid support on FreeBSD X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 14:46:07 -0000 Dag-Erling Smørgrav wrote: > Maxim Sobolev writes: > >>Well, my knowelege about internals of software RAID controllers is >>quite limited, but as long as I know they are no more than BIOS with >>UI for setting up RAIDs and interface to main BIOS that hides internal >>RAID structure allowing to boot off the RAID. Also they provide some >>persistent storage for RAID configuration, I assume either in some >>controller's NVRAM or on the HDDs. > > > The configuration is always stored on-disk, otherwise it wouldn't be > possible to recover from controller failure. > > >>Therefore, the same set of GEOM >>RAID modules can work with different software RAID controllers (SCSI, >>ATA, SATA etc) if there will be a standard way to extract this info >>from the controller's driver, and present it in some common >>format. That's what I am talking about. > > > You're kicking down open doors. This problem has already been solved > for Vinum, which is conceptually identical from a GEOM point of view. Nah. As I said there should be some standard way to extract RAID configuration info out of controller's driver in controller-independent format. -Maxim