From owner-freebsd-stable@FreeBSD.ORG Sat Jul 19 09:17:22 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 3714A106566C for ; Sat, 19 Jul 2008 09:17:22 +0000 (UTC) (envelope-from alex@trull.org) Received: from mail.internationalconspiracy.org (mail.internationalconspiracy.org [85.234.142.62]) by mx1.freebsd.org (Postfix) with ESMTP id CC50F8FC1D for ; Sat, 19 Jul 2008 09:17:21 +0000 (UTC) (envelope-from alex@trull.org) Received: from localhost (mail.internationalconspiracy.org [85.234.142.62]) by mail.internationalconspiracy.org (Postfix) with ESMTP id 83DA263B34; Sat, 19 Jul 2008 10:17:20 +0100 (BST) X-Virus-Scanned: amavisd-new at mail.internationalconspiracy.org Received: from mail.internationalconspiracy.org ([85.234.142.62]) by localhost (mail.internationalconspiracy.org [85.234.142.62]) (amavisd-new, port 10024) with LMTP id xlKaBl24dePV; Sat, 19 Jul 2008 10:17:05 +0100 (BST) Received: from [192.168.124.200] (77-96-69-222.cable.ubr09.croy.blueyonder.co.uk [77.96.69.222]) by mail.internationalconspiracy.org (Postfix) with ESMTPSA id A662263B1F; Sat, 19 Jul 2008 10:17:04 +0100 (BST) From: Alex Trull To: Daniel Eriksson In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A61A197A@royal64.emp.zapto.org> References: <4F9C9299A10AE74E89EA580D14AA10A61A197A@royal64.emp.zapto.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8OYk3Wj4ZdJb3gfU21mQ" Date: Sat, 19 Jul 2008 10:17:02 +0100 Message-Id: <1216459022.6521.6.camel@porksoda> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Cc: freebsd-stable 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: Sat, 19 Jul 2008 09:17:22 -0000 --=-8OYk3Wj4ZdJb3gfU21mQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've tried neither of these in your particular case, but they might be worth a try: Just a suggestion, but try specify vfs.zfs.zil_disable=3D1 or as a kernel variable in the boot cli. You may want to try export and import the pool and see how it likes it then. -- Alex On Sat, 2008-07-19 at 10:51 +0200, Daniel Eriksson wrote: > I have a large ZFS pool that seems to be partially corrupt, causing a > panic on ZFS startup. This is on a RELENG_7_0 machine. >=20 > This is what happens when I try to start ZFS (written down by hand): >=20 > ZFS: WARNING: can't process intent log for tank02/home > ZFS: WARNING: can't process intent log for tank02 > panic: solaris assert: dmu_read(os, smo->smo_object, offset, size, > entry_map) =3D=3D 0 (0x5 =3D=3D 0x0), file: > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/spa > ce_map.c, line: 341 >=20 > The pool sits on top of a geli-encrypted hardware raid-array (Highpoint > RocketRAID 2340, 8 x 500GB in RAID-5 config). Unfortunately the array > broke (2 drives disconnected) due to a bad PSU, and this eventually > crashed the box. When I restarted the box the above message showed up as > soon as I started ZFS. >=20 > It is my understanding that the intent log is emptied on clean shutdown, > and if it is not empty during startup ZFS tries to "replay" the > transactions recorded in it. I assume the initial crash left the intent > log in an inconsistent state and that ZFS panics on startup due to badly > formatted data in the intent log. >=20 > Is there any way I can recover this pool? >=20 >=20 > ___ > Daniel Eriksson (http://www.toomuchdata.com/) > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --=-8OYk3Wj4ZdJb3gfU21mQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIgbEOey4m6/eWxTQRArBAAJ9pvH4aVknF0A1hYjosSKyChW+KrgCdEdXD xwC3aBnUTJbiNG5xD0bnFOM= =gPGQ -----END PGP SIGNATURE----- --=-8OYk3Wj4ZdJb3gfU21mQ--