Panic on ZFS startup after crash

Pawel Jakub Dawidek pjd at
Mon Jul 21 13:52:00 UTC 2008

On Mon, Jul 21, 2008 at 03:49:24PM +0200, Daniel Eriksson wrote:
> Pawel Jakub Dawidek wrote:
> > I'm afraid your pool's metadata is
> > somehow corrupted that ZFS can't handle that.
> 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.
> > I saw warnings in your
> > first e-mail about ZFS not beeing able to replay ZIL. Can you try
> > disabling ZIL? Something like:
> 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.
> 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 
> > patch for you in a few days).
> 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.

Pawel Jakub Dawidek             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list