kern/140433: ZFS panics kernel while replaying ZIL after crash
gerrit at pmp.uni-hannover.de
Mon Nov 9 21:10:02 UTC 2009
>Synopsis: ZFS panics kernel while replaying ZIL after crash
>Arrival-Date: Mon Nov 09 21:10:00 UTC 2009
>Originator: Gerrit Kühn
>Release: FreeBSD 8.0-RC2
FreeBSD 8.0-RC2 on AMD64
After a crash (by starting powerd, if that matters) zpool comes back fine, but panics when trying to mount one particular fs inside the pool. All other fs are fine, also the properties of the broken fs can be accessed. A picture of the crash and a trace using ddb can be found here: <http://www.pmp.uni-hannover.de/test/Mitarbeiter/g_kuehn/data/zfs-panic2.jpg>
It looks like there is a problem replaying the ZIL.
Some more info about the hardware and setup:
These are 4x2.5" 400GB drives (WD4000BEVT) in a RAID-Z1 setup on a
Supermicro AOC-USAS-L8i controller (LSI chip, mpt driver) in a VIA VB8001
board (powered by a Via Nano 1.6GHz) with 4GB of memory. System runs off a UFS-FS CF-card and uses ZFS for data, /var and /tmp.
I had a similar issue before when the system had crashed once for a different reason. So the situation is probably easily triggered here. I have not yet tried to re-do the pool and trigger it again to be able to give feedback on the problem at hand.
Unknown to me. However, imho zfs should not panic the kernel, even if there is a corrupted zil. If these cases cannot be avoided 100%, something like an --disgard-zil switch would be very helpful from my (user's) point of view.
More information about the freebsd-bugs