From owner-freebsd-fs@FreeBSD.ORG Wed Nov 7 13:27:46 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 D4C9A1E0 for ; Wed, 7 Nov 2012 13:27:46 +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 B43248FC08 for ; Wed, 7 Nov 2012 13:27:46 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TW5fW-0001bx-3D for freebsd-fs@freebsd.org; Wed, 07 Nov 2012 05:27:46 -0800 Date: Wed, 7 Nov 2012 05:27:46 -0800 (PST) From: Beeblebrox To: freebsd-fs@freebsd.org Message-ID: <1352294866076-5758864.post@n5.nabble.com> Subject: [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: Wed, 07 Nov 2012 13:27:46 -0000 I removed the HDD before deleting one of the zpools, then I added a ZIL device using gnop. Now I get multiple ashift values even though I have only 1 zpool (vdev): zdb mypool | grep ashift ashift: 9 ashift: 12 ashift: 9 ashift: 12 Looking through various ZDB functions has shown me that the previously removed pool is still in ZDB. But unfortunately the ZDB manual talks more about "status reporting" and not much about "error correction". Any ideas on how to correct/remove/delete faulty ZDB entries (other than re-install)? -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-How-to-fix-corrupt-ZDB-tp5758864.html Sent from the freebsd-fs mailing list archive at Nabble.com.