[Bug 180001] [zfs] [panic] Solaris(panic): zfs: allocating allocated segment
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 8 20:42:37 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180001
Guido Falsi <madpilot at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |madpilot at FreeBSD.org
--- Comment #5 from Guido Falsi <madpilot at FreeBSD.org> ---
Posting a followup since I'm experiencing a very similar error.
Machine is a laptop with only one disk. FreeBSD 13-head, r361728
The machine is configures with geli and zfs boot, as created by the FreeBSD
installer.
At some point the machine has had a panic+reboot while shutting down [1] and on
reboot, after inputting the geli password, the machine panicked. With a debug
kernel I discovered the reason:
panic: Solaris(panic): zfs: allocating allocated
segment(offset=433818959872 size=4096) of (offset=433818021200 size=32768)
The panic appears to happen in range_tree_add_impl, called from
space_map_load_callback.
After this I was able to make the machine boot by setting vfs.zfs.recover=1 in
loader.conf.
At boot it now gives these error messages:
Solaris: WARNING: zfs: allocating allocated segment(offset=433818959872
size=4096) of (offset=433818931200 size=32768)
Solaris: WARNING: zfs: allocating allocated segment(offset=433815740416
size=4096) of (offset=433815736320 size=8192)
Once booted the machine works fine, for the little use I've put it up after
this event.
I also tried to run some more diagnostic
zdb gave me this:
# zdb -c zroot
Traversing all blocks to verify metadata checksums and verify nothing leaked
...
loading concrete vdev 0, metaslab 101 of 113 ...Assertion failed: rs->rs_start
<= start (0x65019be000 <= 0x65019bd000), file
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/range_tree.c, line 410.
Abort (core dumped)
Anny other diagnostic I could try to run?
[1] this is actually speculation since it happened when I commanded a shutdown
from another PC in another room, and found the machine at thew geli password
prompt instead of turned off.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the zfs-devel
mailing list