Project

General

Profile

Actions

Bug #5165

closed

zdb fails assertion when run on pool with recently-enabled spacemap_histogram feature

Added by Matthew Ahrens almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2014-09-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

zpool create -d test c1t1d0
zpool set feature@spacemap_histogram=enabled test
zdb test

assertion failed for thread 0xfffffd7fff172a40, thread-id 1:
spa_writeable(vd->vdev_spa), file ../../../uts/common/fs/zfs/vdev.c, line 1572

::stack

libc.so.1`_lwp_kill+0xa()
libc.so.1`_assfail+0x179(fffffd7ffda35caa, fffffd7ffda2adb8, 624)
libc.so.1`assfail+0x19(fffffd7ffda35caa, fffffd7ffda2adb8, 624)
libzpool.so.1`vdev_dirty+0xf8(11260c0, 1, 13d8b80, 1)
libzpool.so.1`metaslab_fragmentation+0x97(13d8b80)
libzpool.so.1`metaslab_init+0xdc(1128a40, 0, 24, 0)
libzpool.so.1`vdev_metaslab_init+0x159(11260c0, 0)
libzpool.so.1`vdev_load+0xd0(11260c0)
libzpool.so.1`vdev_load+0x3b(1126740)
libzpool.so.1`spa_load_impl+0xaa2(110f000, 4e0c9f416a50f5d8, 122f970, 1, 0, 1)
libzpool.so.1`spa_load+0x161(110f000, 1, 0, 1)
libzpool.so.1`spa_load_impl+0x8f5(110f000, 4e0c9f416a50f5d8, 488ca0, 1, 0, 0)
libzpool.so.1`spa_load+0x161(110f000, 1, 0, 0)
libzpool.so.1`spa_load_best+0x6b(110f000, 1, 0, ffffffffffffffff, 2)
libzpool.so.1`spa_open_common+0x178(fffffd7fffdffd82, fffffd7fffdffb88, 412600,
488e80, 0)
libzpool.so.1`spa_open_rewind+0x21(fffffd7fffdffd82, fffffd7fffdffb88, 412600,
488e80, 0)
main+0x390(3, fffffd7fffdffbf8)

Actions

Also available in: Atom PDF