[Bug 193875] New: [zfs] [panic] [reproducable] zfs/space_map.c: solaris assert: sm->sm_space + size <= sm->sm_size

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 23 14:26:35 UTC 2014


            Bug ID: 193875
           Summary: [zfs] [panic] [reproducable] zfs/space_map.c: solaris
                    assert: sm->sm_space + size <= sm->sm_size
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: girgen at FreeBSD.org


This is a production machine, one of two identical redunant storage systems.
After upgrading one to FreeBSD 10.0-RELEASE-p3, it crashes within a few hours
in production. Running bonnie locally we manage to reproduce the crash within

System has 32 GB RAM
zpool list -v
tank        21,8T  7,71T  14,0T    35%  1.00x  ONLINE  -
  raidz2    21,8T  7,71T  14,0T         -
    da0         -      -      -         -
    da1         -      -      -         -
    da2         -      -      -         -
    da3         -      -      -         -
    da4         -      -      -         -
    da5         -      -      -         -
  da6p1     39,8G  4,44M  39,7G         -
cache           -      -      -      -      -      -
  da6p2     19,6G   248M  19,4G         -

zpool verison 28
zfs version 5

panic: solaris assert: sm->sm_space + size <= sm->sm_size, file:
line: 121

(kgdb) bt
#0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff808af860 in kern_reboot (howto=260) at
#2  0xffffffff808afc24 in panic (fmt=<value optimized out>) at
#3  0xffffffff81a31202 in assfail (a=<value optimized out>, f=<value optimized
out>, l=<value optimized out>) at
#4  0xffffffff8185fc24 in space_map_add (sm=0xfffff80016a24600,
start=1029308416, size=131072) at
#5  0xffffffff81860429 in space_map_load (sm=0xfffff80016a24600,
ops=0xffffffff8191ad58, maptype=<value optimized out>, smo=0xfffff800169b2b20,
#6  0xffffffff8184aee0 in metaslab_activate (msp=0xfffff800169b2b00,
activation_weight=9223372036854775808) at
#7  0xffffffff8184a209 in metaslab_alloc (spa=0xfffff80016285000,
mc=0xfffff800161a0900, psize=131072, bp=0xfffffe01f5c12008, ndvas=1,
txg=9442048, hintbp=0xfffff8001681e000, flags=<value optimized out>)
#8  0xffffffff81882f23 in zio_alloc_zil (spa=0xfffff80016285000, txg=9442048,
new_bp=0xfffffe01f5c12008, old_bp=0xfffff804f6ff5e48, size=131072,
use_slog=<value optimized out>)
#9  0xffffffff81880b71 in zil_lwb_write_start (zilog=0xfffff800168a1c00,
lwb=0xfffff804f6ff5e40) at
#10 0xffffffff8187f488 in zil_commit (zilog=0xfffff800168a1c00, foid=<value
optimized out>) at
#11 0xffffffff818a4a78 in zfs_sync (vfsp=<value optimized out>, waitfor=<value
optimized out>) at
#12 0xffffffff8094e2e0 in sync_fsync (ap=<value optimized out>) at
#13 0xffffffff80d9d458 in VOP_FSYNC_APV (vop=<value optimized out>, a=<value
optimized out>) at vnode_if.c:1330
#14 0xffffffff8094eb6a in sched_sync () at vnode_if.h:549
#15 0xffffffff80881cba in fork_exit (callout=0xffffffff8094e7a0 <sched_sync>,
arg=0x0, frame=0xfffffe085c3e2ac0) at /usr/src/sys/kern/kern_fork.c:995
#16 0xffffffff80c79f0e in fork_trampoline () at
#17 0x0000000000000000 in ?? ()
Current language:  auto; currently minimal

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list