From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 07:53:39 2014 Return-Path: Delivered-To: freebsd-questions@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 ESMTPS id 4A0129D6 for ; Mon, 10 Mar 2014 07:53:39 +0000 (UTC) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB13622F for ; Mon, 10 Mar 2014 07:53:37 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id u14so4339573lbd.19 for ; Mon, 10 Mar 2014 00:53:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=wBCnA6i9c6yETnvs1p0pq0dzSPfzBBeqWnZtePxwusI=; b=Ubsp+Zlj36gf8DsRXVAFa/LksrkFUEGTbH/92gi1raZhRoMsXK85bPoBlbHZOHNmOc ynU6d28mE3NBlJky0LYiUaV0t2fU3P1yDAmj2f7NZKyfScwoUZXnwzPjCkm6U/u/520T V9jV3st3v2X07hfPD+L8LK+1XtwX9/uBOkl2YhHqxRZzm8RrBWfyr7NZXjM/d1RsCc22 4dZYG+qG1cjt4vUbPQzpeMvh/66gZ6saWOXBufWPdVMQX7GKSOecuC4QzAdVXwqspgqQ 5DBwkaR7nUPFLsLlKSPJC/BkvqygSSE8//o2s8Mnwxf41BgnVXDyBGFVmAQFnRetJnTx nL0w== X-Gm-Message-State: ALoCoQnPsvxOAuMxP6/3zidXuQZc0PQ6+71Ncamj8ErlFJxt/jo3OqsSxB5FHPLP0l7/tnO9xOn4 MIME-Version: 1.0 X-Received: by 10.152.28.41 with SMTP id y9mr81122lag.57.1394438009830; Mon, 10 Mar 2014 00:53:29 -0700 (PDT) Received: by 10.112.253.227 with HTTP; Mon, 10 Mar 2014 00:53:29 -0700 (PDT) X-Originating-IP: [121.98.161.40] Date: Mon, 10 Mar 2014 20:53:29 +1300 Message-ID: Subject: How to destroy a zpool that can no longer be imported? From: Jonathan Chen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 07:53:39 -0000 Hi, While experimenting ZFS, I've ended up with a zpool that can't be imported: 8:41pm# zpool import pool: lake id: 10528535549827216272 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: lake UNAVAIL insufficient replicas 12490607842175990247 UNAVAIL cannot open I don't care about the (non-existent) data, but I would like to remove the pool entry. The standard way is to import the pool and then destory it. However, this pool cannot be import (even with -f) and so there doesn't seem to be a way to destroy it. How do I get rid of this bogus faulted pool? -- Jonathan Chen