From owner-freebsd-current@FreeBSD.ORG Thu Oct 10 00:15:08 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F3FC9442 for ; Thu, 10 Oct 2013 00:15:07 +0000 (UTC) (envelope-from rmtodd@servalan.servalan.com) Received: from ln.servalan.com (unknown [IPv6:2600:3c00::f03c:91ff:fe96:62f5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CAF5B209D for ; Thu, 10 Oct 2013 00:15:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=servalan.com; s=rsadkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:From:References:Cc:Subject:To; bh=gHtlCHI5iSWZ5al48Caz1+OxT+6Vg5BYBa/U4O2N8dI=; b=krU9L/cCMqa9PGUN2GOovKd07fUKjQj3MENlKWDJELkmOwl4wXCi3/m9+jb0ys/iVBiqvPSEakBG90LWjkDxsTzvdCFPOvliEr5TcZ4fP6kEZeMuTF4JkaRqv4PKS/pkA+t0AbfCFM6N9ogePxVNk7rl36UVmeGL4H1OdbT2INM=; Received: from uucp by ln.servalan.com with local-rmail (Exim 4.71) (envelope-from ) id 1VU3uE-0003Rn-QL for freebsd-current@freebsd.org; Wed, 09 Oct 2013 19:15:06 -0500 Received: from rmtodd by servalan.servalan.com with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VU3sr-000HTn-91; Wed, 09 Oct 2013 19:13:41 -0500 To: Vitalij Satanivskij Subject: Re: Assertion in zdb? References: <20131009132258.GA85485@hell.ukr.net> From: Richard Todd Date: Wed, 09 Oct 2013 19:13:40 -0500 In-Reply-To: <20131009132258.GA85485@hell.ukr.net> (Vitalij Satanivskij's message of "Wed, 9 Oct 2013 16:22:58 +0300") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 00:15:08 -0000 Vitalij Satanivskij 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.