From owner-freebsd-fs@FreeBSD.ORG Fri Nov 6 23:53:24 2009 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 A80FD1065698 for ; Fri, 6 Nov 2009 23:53:24 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id 33BDC8FC1A for ; Fri, 6 Nov 2009 23:53:23 +0000 (UTC) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.14.2/8.14.2) with ESMTP id nA6NrLaO005085; Sat, 7 Nov 2009 00:53:22 +0100 Received: from pmp.uni-hannover.de (theq.pmp.uni-hannover.de [130.75.117.4]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 7CF5E24; Sat, 7 Nov 2009 00:53:21 +0100 (CET) Date: Sat, 7 Nov 2009 00:53:20 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: "James R. Van Artsdalen" Message-Id: <20091107005320.cd6a9fad.gerrit@pmp.uni-hannover.de> In-Reply-To: <4AF4AAFF.2080104@jrv.org> References: <20091106094734.4b056899.gerrit@pmp.uni-hannover.de> <4AF4123A.4080301@andric.com> <20091106231440.4f0f2cbb.gerrit@pmp.uni-hannover.de> <4AF4AAFF.2080104@jrv.org> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.2 (GTK+ 2.10.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2009.11.6.234227 Cc: freebsd-fs@freebsd.org Subject: Re: trace for zfs panic mounting fs after crash with RC2 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: Fri, 06 Nov 2009 23:53:24 -0000 On Fri, 06 Nov 2009 17:02:23 -0600 "James R. Van Artsdalen" wrote about Re: trace for zfs panic mounting fs after crash with RC2: JRVA> > I recomplied the kernel with ddb support and got the following JRVA> > trace (using mount -t zfs instead of zfs mount this time, but JRVA> > getting the same panic): JRVA> You may be able to recover your pool by changing the line below, but JRVA> I have never tried it: it may clobber the pool. You definitely JRVA> don't want this change normally! It may be necessary to avoid JRVA> calling zil_destroy here too. Well, as I said before, the pool itself and all other filesystems in it are fine. The pool can be imported and all other filesystems can be mounted and used. Just one of it panics the system when I try to mount it. JRVA> How the ZIL got corrupted - if it did - is a harder question. What JRVA> kind of hard disk is this, and how is it connected to the system? JRVA> Was there any redundancy (mirror, raidz)? These are 4x2.5" 400GB drives (WD4000BEVT) in a RAID-Z1 setup on a Supermicro AOC-USAS-L8i controller (LSI chip, mpt driver) in a VIA VB8001 board (powered by a Via Nano 1.6GHz) with 4GB of memory. The system paniced when I tried to run powerd, after reboot the pool came back fine, but the system paniced again when trying to mount this particular fs (tank/sys/var). Before this happened I had one similar issue when the system crashed (probably because I was mechanically pushing the controller card a bit too hard during operation when trying to fix some SATA cables). However, after this crash the whole pool did not come back and the system paniced when trying to import the pool - but also with ZIL-replay problems. As this happened right after installing the base system, I simply re-did the pool and re-installed the system. However, with this similar problem after a quite "normal" crash (hey, I only started powerd) my confidence is a bit low and I would like to have this fixed before I really put data on the machine. cu Gerrit