Project

General

Profile

Bug #3423

zdb -b 'error: zfs: freeing free segment'

Added by Piotr Jasiukajtis almost 7 years ago. Updated about 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2012-12-20
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

# zdb -b rpool

Traversing all blocks to verify nothing leaked ...
error: zfs: freeing free segment (offset=29883846144 size=32768)
Abort (core dumped)

> $C
fffffd7fffdf56e0 libc.so.1`_lwp_kill+0xa()
fffffd7fffdf5700 libc.so.1`raise+0x19()
fffffd7fffdf5740 libc.so.1`abort+0xd9()
fffffd7fffdf5770 libzpool.so.1`vpanic+0x57()
fffffd7fffdf57b0 libzpool.so.1`vcmn_err+0x30()
fffffd7fffdf5890 libzpool.so.1`zfs_panic_recover+0xa7()
fffffd7fffdf5930 libzpool.so.1`space_map_remove+0x194()
fffffd7fffdf5a00 libzpool.so.1`space_map_load+0x578()
fffffd7fffdf5a60 zdb_leak_init+0xb2()
fffffd7fffdffbd0 dump_block_stats+0xe5()
fffffd7fffdffc00 dump_zpool+0x213()
fffffd7fffdffca0 main+0xa3d()
fffffd7fffdffcb0 0x40768c()

Tested on oi_151a7.

History

#2

Updated by sham pavman over 6 years ago

works cleanly for me on a7
Can you give me more info on the health of the pool?
Also can you try the same cmd on another newly created pool?

light@t410:~$ sudo zdb -b rpool

Traversing all blocks to verify nothing leaked ...

        No leaks (block sum matches space maps exactly)

        bp count:          418100
        bp logical:    11603448832      avg:  27752
        bp physical:   11259440128      avg:  26930     compression:   1.03
        bp allocated:  11343669760      avg:  27131     compression:   1.02
        bp deduped:             0    ref>1:      0   deduplication:   1.00
        SPA allocated: 11343669760     used: 35.51%

light@t410:~$  
light@t410:~$ uname -a
SunOS t410 5.11 oi_151a7 i86pc i386 i86pc Solaris
#3

Updated by Andrew Stormont about 6 years ago

Did you use the patched zpool command to set a different ashift?

#4

Updated by Piotr Jasiukajtis about 6 years ago

Andrew Stormont wrote:

Did you use the patched zpool command to set a different ashift?

No.

Also available in: Atom PDF