From owner-freebsd-fs@FreeBSD.ORG Sun Aug 4 17:27:18 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 52D46410 for ; Sun, 4 Aug 2013 17:27:18 +0000 (UTC) (envelope-from prvs=1928f37ee5=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7B7320BD for ; Sun, 4 Aug 2013 17:27:17 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50005328042.msg for ; Sun, 04 Aug 2013 18:27:09 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 04 Aug 2013 18:27:09 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=1928f37ee5=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: <5C38117C14594404AAC7034DB56FD1BA@multiplay.co.uk> From: "Steven Hartland" To: "Karl Denninger" , References: <51FE8D1C.5080509@denninger.net> Subject: Re: How do I clear this problem? :-) Date: Sun, 4 Aug 2013 18:27:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 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:27:18 -0000 Might sound silly but what are you actually trying to achieve? Are you trying to create a new pool of the same name? Does ZFS still think it has the pool loaded via zpool status and your trying to clear that? .... Regards Steve ----- Original Message ----- From: "Karl Denninger" To: Sent: Sunday, August 04, 2013 6:19 PM Subject: How do I clear this problem? :-) > 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/ > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.