From owner-freebsd-current@FreeBSD.ORG Wed Oct 5 06:51:44 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 184691065670; Wed, 5 Oct 2011 06:51:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id D0CFB8FC16; Wed, 5 Oct 2011 06:51:43 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:b9fd:2f11:cd06:1a6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 8E65E4AC1C; Wed, 5 Oct 2011 10:51:42 +0400 (MSD) Date: Wed, 5 Oct 2011 10:51:33 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <491799917.20111005105133@serebryakov.spb.ru> To: Stephane LAPIE , current@freebsd.org In-Reply-To: <4E8BF86F.4000806@darkbsd.org> References: <1927112464.20111004220507@serebryakov.spb.ru> <4E8B7A27.5070908@quip.cz> <344794801.20111005101957@serebryakov.spb.ru> <4E8BF86F.4000806@darkbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: RFC: Project geom-events X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 06:51:44 -0000 Hello, Stephane. You wrote 5 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 10:25:51: > On 10/05/2011 03:19 PM, Lev Serebryakov wrote: > A bit unrelated, but are there plans to integrate hardware RAID > (mps/mfi/mpt/amr) failure notification in the same way as this would be > done for GEOM ? As in, "one framework and way to manage both hard and > soft RAIDs". I don't have such plans, as I think, only drivers authors could identify proper places to add event sending. Drivers are much more complicated, that RAID classes (I was unable to find proper places for geom_vinum, for example, and hardware drivers doesn't look simpler, that that). But from userland's point of view, there is nothing special about hardware RAIDs -- geom-events(8) needs two commands to be configured: to remove failed drive from array and to add new one, that's all. Of course, "GEOM" system name in events will looks like odd for hardware controllers. But it could be renamed to something more generic. And hardware controllers has same bits of information as software ones -- type of controller, name of failed drive, name of affected volume and resulting state, everything is the same. So, if here is interest form hardware RAID driver's authors, it could be integrated, of course. --=20 // Black Lion AKA Lev Serebryakov