Re: Assertion in zdb?

From: Richard Todd <rmtodd_at_servalan.servalan.com>
Date: Wed, 09 Oct 2013 19:13:40 -0500
Vitalij Satanivskij <satan_at_ukr.net> writes:

> Hello. 
>
> System - 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r255173
>
> While trying to get some statistics from zdb 
>
>  zdb -dd disk1 > stat.log
>
> get some assertion: 
>
> Assertion failed: object_count == usedobjs (0x85727 == 0x3aa93d), file /usr/src/cddl/usr.sbin/zdb/../../../cddl/contrib/opensolaris/cmd/zdb/zdb.c, line 1767.
> zsh: abort (core dumped)  zdb -dd disk1 > stat.log
>
> Maybe somebody have any idea about what's it's can be and how big problem it's (or not a problem at all)?

Probably not a problem unless it happens reliably when you try it multiple
times.  Since zdb looks at the raw disks, if the filesystem/zpool is active, 
zdb can easily read bits of the zpool metadata off the disks at different
times and thus see an inconsistent state.  Hence trying to get stats out of 
zdb always carries a certain risk of not working.  
Received on Wed Oct 09 2013 - 22:15:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC