From owner-freebsd-stable@FreeBSD.ORG Mon Nov 25 12:48:43 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A703F55E for ; Mon, 25 Nov 2013 12:48:43 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 03DEC26D8 for ; Mon, 25 Nov 2013 12:48:42 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA20442; Mon, 25 Nov 2013 14:48:29 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1VkvaX-000MIr-1k; Mon, 25 Nov 2013 14:48:29 +0200 Message-ID: <529346E5.4070900@FreeBSD.org> Date: Mon, 25 Nov 2013 14:47:33 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Daniel O'Connor" , freebsd-stable stable Subject: Re: ZFS devd messages References: <85290551-4239-495E-ACCD-9F03C20D40EF@gsoft.com.au> In-Reply-To: <85290551-4239-495E-ACCD-9F03C20D40EF@gsoft.com.au> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 12:48:43 -0000 on 12/10/2013 03:51 Daniel O'Connor said the following: > Hi, > It seems that the ZFS messages no longer match entries in devd.conf, eg.. > notify 10 { > match "system" "ZFS"; > match "type" "vdev"; > action "logger -p kern.err 'ZFS: vdev failure, zpool=$pool type=$type'"; > }; > > Doesn't match anything because messages now look like.. > Processing event '!system=ZFS subsystem=ZFS type=resource.fs.zfs.removed version=0 class=resource.fs.zfs.removed pool_guid=469710819 vdev_guid=215223839' > > Does anyone have an updated set of rules handy? I've come up with the following change: http://people.freebsd.org/~avg/devd-zfs.diff I will appreciate any testing and reviews. Thanks! -- Andriy Gapon