From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 12:11:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6AD3932 for ; Sat, 6 Dec 2014 12:11:17 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3CE6A55 for ; Sat, 6 Dec 2014 12:11:17 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XxECh-0007iY-2D for freebsd-questions@freebsd.org; Sat, 06 Dec 2014 13:11:15 +0100 Received: from p4fddc57a.dip0.t-ipconnect.de ([79.221.197.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Dec 2014 13:11:15 +0100 Received: from christian.baer by p4fddc57a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Dec 2014 13:11:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: getting rid of a zpool Date: Sat, 06 Dec 2014 13:11:01 +0100 Lines: 37 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fddc57a.dip0.t-ipconnect.de User-Agent: KNode/4.14.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2014 12:11:18 -0000 Hello again! As you might have guessed, I am walking a lot of new paths (at least they are new to me) and I hope you can bear with me when I ask my questions! This is what I did (short version, left some options out): gpart create -s GPT gpart add -l home2 -t freebsd-zfs geli init /dev/gpt/home2 geli attach /dev/gpt/home2 zpool create /dev/gpt/home2.eli Everything worked fine until then. That es when I screw up. :-) I noticed that I had forgotten to set two options for geli and wanted to change that. So I did this: umount /dev/gpt/home2.eli geli detach /dev/gpt/home2.eli geli init /dev/gpt/home2.eli As it seems, that was being very inconsiderate to zfs because it still thinks there is a pool out there - which is broken. I somehow cannot get rid of it: root@falbala:/dev # zpool list NAME SIZE ALLOC FREE FRAG EXPANDSZ CAP DEDUP HEALTH ALTROOT home2 928G 252K 928G 0% - 0% 1.00x UNAVAIL - root@falbala:/dev # zpool destroy home2 cannot open 'home2': pool I/O is currently suspended The -f flag doesn't help btw. Is there some way to get rid of this zpool entry and start from scratch? Best regards, Chris