Date: Mon, 21 Jul 2008 11:02:36 +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: <20080721090235.GA2953@garage.freebsd.pl> In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A61A197E@royal64.emp.zapto.org> References: <4F9C9299A10AE74E89EA580D14AA10A61A197A@royal64.emp.zapto.org> <20080719221813.GC4733@garage.freebsd.pl> <4F9C9299A10AE74E89EA580D14AA10A61A197E@royal64.emp.zapto.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 21, 2008 at 12:29:54AM +0200, Daniel Eriksson wrote: > Pawel Jakub Dawidek wrote: >=20 > > Can you try this patch? > >=20 > > http://people.freebsd.org/~pjd/patches/space_map.c.patch >=20 > Now it panics (solaris assert) at line 431 in dmu.c. I'll try to get a > backtrace in a day or two if it would help. The backtrace won't help here. I'm afraid your pool's metadata is somehow corrupted that ZFS can't handle that. I saw warnings in your first e-mail about ZFS not beeing able to replay ZIL. Can you try disabling ZIL? Something like: # zpool export <name> # kldunload zfs # kenv vfs.zfs.zil_disable=3D1 # kldload zfs # zpool import <name> Although I'm not sure if disabling ZIL will prevent replaying previously prepared ZIL. 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 patch for you in a few days). The panic you're seeing is in dmu_write() function. You could also try to import a pool read-only, but I just tried doing so with 'zpool import -o ro <name>' command and it mount file systems read-write. Not sure why it doesn't work, but I'll try to fix it today. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIhFCrForvXbEpPzQRAl42AKCjAd8ynPjxVhzr3KjCcemh9ptAtgCeLPrI 6e/bYiAlTonBaUkzlYEDD0s= =NRaL -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080721090235.GA2953>