From owner-freebsd-fs@FreeBSD.ORG Thu Nov 8 10:26:57 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 560EC1FF for ; Thu, 8 Nov 2012 10:26:57 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 31B108FC0C for ; Thu, 8 Nov 2012 10:26:56 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TWPK3-0004Dp-OS for freebsd-fs@freebsd.org; Thu, 08 Nov 2012 02:26:55 -0800 Date: Thu, 8 Nov 2012 02:26:55 -0800 (PST) From: Beeblebrox To: freebsd-fs@freebsd.org Message-ID: <1352370415751-5759123.post@n5.nabble.com> In-Reply-To: <1352356496801-5759081.post@n5.nabble.com> References: <1352294866076-5758864.post@n5.nabble.com> <509A66D2.5060706@gmail.com> <8F907219A6904829A66E1E9A01696CF4@multiplay.co.uk> <1352356496801-5759081.post@n5.nabble.com> Subject: Re: [ZFS] How to fix corrupt ZDB MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 10:26:57 -0000 *** correction on previous post *** Beeblebrox wrote > This command also did not change the corrupt entry for an old pool: * > # zdb -c * * > zdb: can't open 'asp': No such file or directory It turns out, ZDB just looks in the first folder / file name it runs into when running this command. So change to a different folder, run the command and the error message changes to complain about a different folder. I was running that command at the top-level and I have a folder named "asp" there as well. So disregard that bit... -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-How-to-fix-corrupt-ZDB-tp5758864p5759123.html Sent from the freebsd-fs mailing list archive at Nabble.com.