From owner-freebsd-fs@FreeBSD.ORG Wed Aug 21 11:46:50 2013 Return-Path: Delivered-To: freebsd-fs@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 6EC11802 for ; Wed, 21 Aug 2013 11:46:50 +0000 (UTC) (envelope-from nicolas@i.0x5.de) Received: from n.0x5.de (n.0x5.de [217.197.85.144]) by mx1.freebsd.org (Postfix) with ESMTP id 0F403240B for ; Wed, 21 Aug 2013 11:46:49 +0000 (UTC) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 3cKn2L4Lspz7ySF; Wed, 21 Aug 2013 13:38:50 +0200 (CEST) Date: Wed, 21 Aug 2013 13:38:50 +0200 From: Nicolas Rachinsky To: Sean Bruno Subject: Re: How do we clear a bogus zpool? Message-ID: <20130821113850.GA63039@mid.pc5.i.0x5.de> Mail-Followup-To: Sean Bruno , freebsd-fs References: <1377015858.1450.3.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1377015858.1450.3.camel@localhost> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: 887BAE72 X-PGP-Fingerprint: 039E 9433 115F BC5F F88D 4524 5092 45C4 887B AE72 X-PGP-Keys: http://www.rachinsky.de/nicolas/gpg/nicolas_rachinsky.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs 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, 21 Aug 2013 11:46:50 -0000 * Sean Bruno [2013-08-20 09:24 -0700]: > I've managed to create a situation where I have a completely bogus zpool > showing up on my system. There seems to be no way to wipe this out? > > # zpool import > pool: zroot > id: 854190767471294680 > state: UNAVAIL > > # zpool destroy -f zroot > cannot open 'zroot': no such pool > # zpool clear -F zroot > cannot open 'zroot': no such pool What about zpool export zroot? Nicolas -- http://www.rachinsky.de/nicolas