Assertion in zdb?
Richard Todd
rmtodd at servalan.servalan.com
Thu Oct 10 00:15:08 UTC 2013
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.
More information about the freebsd-current
mailing list