From owner-freebsd-fs@FreeBSD.ORG Sun Aug 4 17:19:36 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3109222D for ; Sun, 4 Aug 2013 17:19:36 +0000 (UTC) (envelope-from karl@denninger.net) Received: from fs.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFC272082 for ; Sun, 4 Aug 2013 17:19:35 +0000 (UTC) Received: from [192.168.1.40] (localhost [127.0.0.1]) by fs.denninger.net (8.14.6/8.13.1) with ESMTP id r74HJTLH073567 for ; Sun, 4 Aug 2013 12:19:30 -0500 (CDT) (envelope-from karl@denninger.net) Received: from [192.168.1.40] (TLS/SSL) [192.168.1.40] by Spamblock-sys (LOCAL/AUTH); Sun Aug 4 12:19:30 2013 Message-ID: <51FE8D1C.5080509@denninger.net> Date: Sun, 04 Aug 2013 12:19:24 -0500 From: Karl Denninger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: How do I clear this problem? :-) X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sun, 04 Aug 2013 17:19:36 -0000 Development system here where I've been screwing around with ZFS and ZPOOL. I have a deprecated mirror that cannot be imported (the disks used for it were wiped and re-used); however, an attempt to destroy the pool fails because it's not mounted, and I can't find a command to clear the cache data that ZPOOL is using to find it. [root@dbms2 /]# zpool import pool: zstore id: 4828844235736846012 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://illumos.org/msg/ZFS-8000-3C config: zstore UNAVAIL insufficient replicas mirror-0 UNAVAIL insufficient replicas 6822277834587078071 UNAVAIL cannot open 17152979047208821543 UNAVAIL cannot open mirror-1 UNAVAIL insufficient replicas 9208768479824103717 UNAVAIL cannot open 2616541439243568493 UNAVAIL cannot open Correct, none of the devices can be found (the system bitches loudly on the console about this, incidentally.) [root@dbms2 /]# zpool destroy zstore cannot open 'zstore': no such pool [root@dbms2 /]# zpool destroy 4828844235736846012 cannot open '4828844235736846012': name must begin with a letter [root@dbms2 /]# Attempts to drop the devices in the mirror (to take it apart "piecemeal") also fail. How do I clear this deprecated entry that cannot be brought back online? I can't completely clear EVERYTHING related to ZFS because there is another pool that is current in-service and working. I can't find anything in the man pages that addresses this...... -- Karl Denninger karl@denninger.net /Cuda Systems LLC/