From owner-freebsd-fs@FreeBSD.ORG Thu May 20 09:14:20 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49EEF1065676 for ; Thu, 20 May 2010 09:14:20 +0000 (UTC) (envelope-from staale@kristoffersen.ws) Received: from putsch.kolbu.ws (cl-225.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:e0::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0CEBD8FC2F for ; Thu, 20 May 2010 09:14:20 +0000 (UTC) Received: from chiller by putsch.kolbu.ws with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OEoVw-000IDz-9J for freebsd-fs@freebsd.org; Wed, 19 May 2010 21:01:08 +0200 Date: Wed, 19 May 2010 21:01:08 +0200 From: =?iso-8859-1?Q?St=E5le?= Kristoffersen To: freebsd-fs@freebsd.org Message-ID: <20100519190108.GA41394@putsch.kolbu.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.18 (2008-05-17) Subject: zdb crash X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 09:14:20 -0000 As I posted about a while ago I had memory corruption, after fixing the problem I ran a scrub that found a few errors that I fixed. I then started zdb -cvv to check the metadata. Thats 8 days ago. It didn't print out anything, just consumed 600MB of memory and 5% of the cpu. This morning I saw that it had crashed: # zdb -cvv media Traversing all blocks to verify checksums and verify nothing leaked ... zdb_blkptr_cb: Got error 86 reading <441, 8198, 0, 1ff51> -- skipping zdb_blkptr_cb: Got error 86 reading <447, 0, 1, 0> -- skipping error: zfs: freeing free segment (offset=4372277157888 size=8192) [1] 16661 abort zdb -cvv media And in the log file I saw: pid 16661 (zdb), uid 0: exited on signal 6 I take it something is wrong, but what? And how do I fix it? The file system seems to be working great. -- Ståle Kristoffersen staalebk@ifi.uio.no