From owner-freebsd-questions@FreeBSD.ORG Tue Jan 17 04:21:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18664106566B for ; Tue, 17 Jan 2012 04:21:16 +0000 (UTC) (envelope-from fritz-bounce@frell.theremailer.net) Received: from frell.theremailer.net (unknown [IPv6:2002:55b1:e5ae:9:d5fe:122:ce6a:7907]) by mx1.freebsd.org (Postfix) with ESMTP id 0E8CB8FC14 for ; Tue, 17 Jan 2012 04:21:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=frell.theremailer.net; s=remailer; h=Date:Message-ID:Subject:Comments:From; bh=PuKEo7cP827C7nq/fqkkAchB9NbcPtfKUvJG64M+t9Y=; b=AXEGjXzPvTu1o/RiyZpWKJG0AfTNCz2uvHjal4sFsTpenV8MF5G5flvsLRSMxu4BpUryFcuNcV8hvHyGkX+K4FFRAWv+riVDaEDZVugxe3lWYxo0Rr1DptWX6flIwOgVAT9ctJ0wZ620GZi1QCKd2oErZKeG0ygz9a3Pudq6v8Zsd+8F03BXyVIUPl88VH/ZJrMVbubI8pPAv79pV1DmsFF8DFsNPntGgp9LsRekKrtpTtoptSA1OWoIZw3URPiPVyzbDQCmQiKxUsobU0QhWG1IRG6OxJQaRBVsMz2Q3Vhryez6BLgLEwf+UyylhFNYLpn8TlIvjmCyYKu5NLXIsOM=; Received: by frell.theremailer.net with local (Exim) id 1Rn0Vv-00041t-Ig for freebsd-questions@freebsd.org envelope-sender fritz-bounce@frell.theremailer.net; Tue, 17 Jan 2012 05:19:15 +0100 From: Fritz Wuehler Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at . Identifying the real sender is technically impossible. To: FreeBSD Questions In-Reply-To: Message-ID: <1a19ab9b1abd5ded195369aa261406dd@msgid.frell.theremailer.net> Precedence: anon Date: Tue, 17 Jan 2012 05:19:15 +0100 Subject: Re: How to destroy a zombie zpool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 04:21:16 -0000 > I've got a weird problem... I was working on installing 9.0 w/zfs on my > laptop, messed up, rebooted, *formatted the drives* and restarted. Got > much further the next time, however... > > There is a zombie copy of the old zpool sitting around interfering with > things. 'zpool import' lists it, but it can't import it because the disks > don't actually exist. 'zpool destroy' can't delete it, because it's not > imported. ('No such pool') Any ideas on how to get rid of it? zfs is famous for fucking itself like this. the only totally safe way is to dd the drive since nailing the label doesn't clear out stuff at the far end of the filesystem that can really ruin your day. don't ask me how i know.. it will take a few hours dd'ing from /dev/zero to your devices but it is well worth it when you do any major surgery on drives that had zfs at one point and you want to use them over again with zfs