From owner-freebsd-fs@FreeBSD.ORG Thu Jan 12 00:25:57 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A7A41065672 for ; Thu, 12 Jan 2012 00:25:57 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3388FC08 for ; Thu, 12 Jan 2012 00:25:57 +0000 (UTC) Received: (qmail 2072 invoked by uid 0); 12 Jan 2012 00:25:56 -0000 Received: from smtp.bway.net (216.220.96.25) by xena.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Jan 2012 00:25:56 -0000 Received: (qmail 2061 invoked by uid 90); 12 Jan 2012 00:25:56 -0000 Received: from unknown (HELO ?10.3.2.40?) (spork@96.57.144.66) by smtp.bway.net with (AES128-SHA encrypted) SMTP; 12 Jan 2012 00:25:56 -0000 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Charles Sprickman In-Reply-To: <20120112001508.GA50634@icarus.home.lan> Date: Wed, 11 Jan 2012 19:25:55 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <4F04A2EC-67BE-401C-BF47-8614FAED07E1@bway.net> References: <20120111154722.000036e4@unknown> <20120111210708.1168781e@fabiankeil.de> <20120111204041.GA47175@icarus.home.lan> <20120111224340.72f28ef4@fabiankeil.de> <20120112001508.GA50634@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1084) Cc: freebsd-fs@freebsd.org Subject: Re: Unplugging disk under ZFS yield panic X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2012 00:25:57 -0000 On Jan 11, 2012, at 7:15 PM, Jeremy Chadwick wrote: > On Wed, Jan 11, 2012 at 06:58:57PM -0500, Charles Sprickman wrote: >>=20 >> On Jan 11, 2012, at 4:43 PM, Fabian Keil wrote: >>=20 >>> Jeremy Chadwick wrote: >>>=20 >>>> On Wed, Jan 11, 2012 at 09:07:08PM +0100, Fabian Keil wrote: >>>>> Gergely CZUCZY wrote: >>>>>=20 >>>>>> I'd like to ask, whether it is normal behaviour when we're = unplugging a >>>>>> disk under a ZFS system then on the first write a kernel panic = happened. >>>>>=20 >>>>> Sounds familiar. I currently have two PRs open for >>>>> reproducible kernel panics after a vdev gets lost: >>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/162010 >>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/162036 >>>>>=20 >>>>> Note that the pool layouts are different, though. >>>>=20 >>>> Is this problem truly ZFS-specific? I'd been tracking this problem = for >>>> years, and was told it was fixed: >>>=20 >>> I'm not saying that my problems are ZFS-specific. >>> The backtraces mainly contain geom functions and no ZFS code, >>> so ZFS might be the victim here. >>=20 >> Is there any relation between this issue and the "log_sysevent: >> type 19 is not implemented" problem that happens on device >> insertion/removal on 8.2? >>=20 >> http://lists.freebsd.org/pipermail/freebsd-fs/2011-June/011855.html >>=20 >> I still see that one on 8.2-STABLE from around 6/2011. I initially >> thought it was triggered by device failure or removal (even with >> proper hotplug support), but I got hit by it last night when >> inserting a new drive in a chassis that supports ahci/sata hotplug. >> IIRC it's not a ZFS issue, ZFS just gets more spammy (well, >> extremely spammy to the point the system can't do much else) about >> reporting an issue with a device going away or being inserted. >=20 > This was fixed in RELENG_8 on 2011/06/14, r222343: >=20 > = http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cddl/compat/opensolaris/kern= /opensolaris_sysevent.c#rev1.2.2.3 >=20 > The code that would print that message is #if 0'd out now. I can > confirm the message is gone on all our systems running recent = RELENG_8. Wow, how unlucky: FreeBSD 8.2-STABLE (BL8-64) #0 r222897: Sun Jun 12 16:35:52 EDT 2011 So that's totally cosmetic? There was no underlying GEOM issue? Sorry for the noise on that then... Charles=20 >=20 > --=20 > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, US | > | Making life hard for others since 1977. PGP 4BD6C0CB | >=20