Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2013 19:13:40 -0500
From:      Richard Todd <rmtodd@servalan.servalan.com>
To:        Vitalij Satanivskij <satan@ukr.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Assertion in zdb?
Message-ID:  <x7d2negeyz.fsf@ichotolot.servalan.com>
In-Reply-To: <20131009132258.GA85485@hell.ukr.net> (Vitalij Satanivskij's message of "Wed, 9 Oct 2013 16:22:58 %2B0300")
References:  <20131009132258.GA85485@hell.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Vitalij Satanivskij <satan@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.  




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x7d2negeyz.fsf>