From owner-freebsd-fs@FreeBSD.ORG Thu Dec 9 19:06:18 2010 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224871065679 for ; Thu, 9 Dec 2010 19:06:18 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 9D53A8FC26 for ; Thu, 9 Dec 2010 19:06:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id oB9In72f094528 for ; Thu, 9 Dec 2010 21:49:07 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Thu, 9 Dec 2010 21:49:07 +0300 (MSK) From: Dmitry Morozovsky To: freebsd-fs@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (woozle.rinet.ru [0.0.0.0]); Thu, 09 Dec 2010 21:49:07 +0300 (MSK) Cc: Subject: stale zpool: how to rename? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 19:06:18 -0000 Dear colleagues, how can I clear stale traces of old pool? [this is on fresh stable/8] Now I have: root@ogre2:~# zpool import pool: og id: 4146846692207551713 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://www.sun.com/msg/ZFS-8000-3C config: og UNAVAIL insufficient replicas mirror UNAVAIL insufficient replicas da0 UNAVAIL cannot open da1 UNAVAIL cannot open root@ogre2:~# zpool status pool: o state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM o ONLINE 0 0 0 mirror ONLINE 0 0 0 da0h ONLINE 0 0 0 da1h ONLINE 0 0 0 errors: No known data errors root@ogre2:~# zpool import -f og cannot import 'og': no such pool or dataset root@ogre2:~# zpool destroy og cannot open 'og': no such pool Thanks in advance. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------