From owner-freebsd-stable@FreeBSD.ORG Mon Jul 21 13:52:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 294391065674 for ; Mon, 21 Jul 2008 13:52:00 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045140.chello.pl [87.206.45.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1908FC12 for ; Mon, 21 Jul 2008 13:51:59 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 0945545C99; Mon, 21 Jul 2008 15:51:55 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5E9DB45685; Mon, 21 Jul 2008 15:51:51 +0200 (CEST) Date: Mon, 21 Jul 2008 15:51:56 +0200 From: Pawel Jakub Dawidek To: Daniel Eriksson Message-ID: <20080721135156.GA6310@garage.freebsd.pl> References: <4F9C9299A10AE74E89EA580D14AA10A61A197A@royal64.emp.zapto.org> <20080719221813.GC4733@garage.freebsd.pl> <4F9C9299A10AE74E89EA580D14AA10A61A197E@royal64.emp.zapto.org> <20080721090235.GA2953@garage.freebsd.pl> <4F9C9299A10AE74E89EA580D14AA10A61A197F@royal64.emp.zapto.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A61A197F@royal64.emp.zapto.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-stable@freebsd.org Subject: Re: Panic on ZFS startup after crash X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Jul 2008 13:52:00 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 21, 2008 at 03:49:24PM +0200, Daniel Eriksson wrote: > Pawel Jakub Dawidek wrote: >=20 > > I'm afraid your pool's metadata is > > somehow corrupted that ZFS can't handle that. >=20 > Yes, that's my conclusion also. It looks like the intent log is messed > up enough to trigger an assert while ZFS tries to parse/replay it. >=20 > > I saw warnings in your > > first e-mail about ZFS not beeing able to replay ZIL. Can you try > > disabling ZIL? Something like: >=20 > I've already tried this, and it made no difference. When the box crashed > ZIL was enabled, and for some reason garbage got written into the ZIL. > Now whenever ZFS tries to import the pool it sees a non-empty ZIL and > tries to parse/replay it. >=20 > Is there an easy way to trick ZFS into thinking the ZIL is empty? I'll check that. > > If that won't help, I'm afraid the last suggestion I can > > provide is to try the lastest ZFS version (I can prepare a=20 > > patch for you in a few days). >=20 > I could probably prepare a temporary install of 8-CURRENT on a spare > drive and boot from that if it's easier for you to make a patch against > CURRENT instead of RELENG_7_0. The ZFS code in 7.0 is the same as in HEAD, so no worries. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIhJR8ForvXbEpPzQRAjDxAJ9i6i7v78rxBReNEifa2wbpwRCgWQCfb3TT pBJJkgMaMdLs1DiHjxkhha0= =V7MM -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--