From owner-freebsd-current@FreeBSD.ORG Tue Oct 4 18:29:56 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 80B7D1065672; Tue, 4 Oct 2011 18:29:56 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5C68FC16; Tue, 4 Oct 2011 18:29:55 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so1212949bkb.13 for ; Tue, 04 Oct 2011 11:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=OgaCxAxiIlhHYPHj5Cfv8wit5Fz63WP7H120yQIKBeI=; b=WetIdxAaHWDSL6zdTr6mpEf15HD9WP4h4iuOhbVKQUATS1rAh4bVMBQMp86fapf4/Y CGre0wUPv4yiLnXKVI1xMtRVfpFCpLKea1IuqSrH6vorW5ngEz2/07YAdiL8nqVFWLTv pgGNesxOinfUQyQdtYR/7iN03zDg8+0nQNXVU= Received: by 10.223.55.136 with SMTP id u8mr2173426fag.46.1317752994156; Tue, 04 Oct 2011 11:29:54 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id a7sm26359391fam.22.2011.10.04.11.29.52 (version=SSLv3 cipher=OTHER); Tue, 04 Oct 2011 11:29:52 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E8B5082.2080005@FreeBSD.org> Date: Tue, 04 Oct 2011 21:29:22 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110910 Thunderbird/6.0.2 MIME-Version: 1.0 To: Freddie Cash References: <1927112464.20111004220507@serebryakov.spb.ru> In-Reply-To: X-Enigmail-Version: undefined Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: lev@freebsd.org, current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: RFC: Project geom-events X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 18:29:56 -0000 On 04.10.2011 21:12, Freddie Cash wrote: > 2011/10/4 Lev Serebryakov > > > One thing is missed from software RAIDs is spare drives and state > monitoring (yes, I know, that geom_raid supports spare drivers for > metadata formats which supports them, but it not universal solution). > > > 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? Now there is projects/zfsd branch that is doing alike things (disk auto-insertion and hot spares) specifically for the case of ZFS. It also uses devctl interface to receive events, but user-level part (zfsd itself) is tightly hardcoded to talk to ZFS, fetching statuses and making control actions. Not sure whether this functionality could be scripted within geom-events, but having single mechanism indeed would be nice. -- Alexander Motin