Date: Mon, 21 Jul 2008 15:51:56 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Daniel Eriksson <daniel_k_eriksson@telia.com> Cc: freebsd-stable@freebsd.org Subject: Re: Panic on ZFS startup after crash Message-ID: <20080721135156.GA6310@garage.freebsd.pl> In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A61A197F@royal64.emp.zapto.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080721135156.GA6310>