From owner-freebsd-current@FreeBSD.ORG Tue Oct 4 20:11:54 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 1F3121065673 for ; Tue, 4 Oct 2011 20:11:54 +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 D8AB68FC13 for ; Tue, 4 Oct 2011 20:11:53 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:906c:6af3:5301:18c6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id B17FE4AC1C; Wed, 5 Oct 2011 00:11:52 +0400 (MSD) Date: Wed, 5 Oct 2011 00:11:44 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <201501426.20111005001144@serebryakov.spb.ru> To: Freddie Cash In-Reply-To: References: <1927112464.20111004220507@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@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: Tue, 04 Oct 2011 20:11:54 -0000 Hello, Freddie. You wrote 4 =D0=BE=D0=BA=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3., 22:12:= 32: > Sounds impressive! Will be very useful for those using GEOM-based > RAID (gmirror, gstripe, graid3, graid5, etc). > Just curious: would the geom-events framework, and in particular > the geom-events script, be useful for ZFS setups, for initiating > replacements and providing "hot-spare" support?=20 Script is configurable enough to adapt for any component removal and inse= rtion command. ZFS needs to send proper event (with pool name in question, = instead of GEOM name, for example), and some commands should be added to co= nfig file for "zfs" type of GEOM, but, I think, as ZFS has extensive userla= nd library, zfsd solution could be better for ZFS. But anyway, I don't want to touch any ZFS sources, as they are very compl= icated. But I open for suggestions from ZFS team, of course. --=20 // Black Lion AKA Lev Serebryakov