From owner-freebsd-fs@FreeBSD.ORG Fri Dec 10 15:35:11 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 9711D1065673 for ; Fri, 10 Dec 2010 15:35:11 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by mx1.freebsd.org (Postfix) with ESMTP id 50B398FC20 for ; Fri, 10 Dec 2010 15:35:10 +0000 (UTC) Received: by gxk28 with SMTP id 28so2867541gxk.17 for ; Fri, 10 Dec 2010 07:35:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WTN5gyiH/y5q0gMPktTvfTknGVeG1Ld85nEJzs5IheU=; b=uZMWzTw2poc5icNshDPllEl+9jijUtT50RsrW40jcjBxLG4qUr5e8RD28csyJzuMcQ 3avlM85HT0KbtyK9cekGkNxy/guJKN5wUh7tyN2OCE2fWVB+fkdeK6HLW2zg7GC+VBJV TSQRWuwDJREF+eMxcgAphrq9OeWddlX78QmQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gWw89hHL6exyxneeL4bDdAjPnVgNXf6xYvJEX+Wv1RNVQBrtw+mF6WLX3jsRatMBgN STvbhypAKOb8rHb6815OyIpsGHnRcTySKkMrPvU2rH71So6P/tCUQbrrNpQXckcU04SP 4KwcwSl9MHJnEqN8+nJ72v8BKG2N18wqeVei4= MIME-Version: 1.0 Received: by 10.90.103.9 with SMTP id a9mr1329647agc.165.1291995310453; Fri, 10 Dec 2010 07:35:10 -0800 (PST) Received: by 10.90.226.2 with HTTP; Fri, 10 Dec 2010 07:35:10 -0800 (PST) In-Reply-To: References: <20101209193027.GA10784@icarus.home.lan> Date: Fri, 10 Dec 2010 07:35:10 -0800 Message-ID: From: Freddie Cash To: Dmitry Morozovsky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org Subject: Re: how to get rid of stale pool? [was (incorrect) 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: Fri, 10 Dec 2010 15:35:11 -0000 On Fri, Dec 10, 2010 at 6:25 AM, Dmitry Morozovsky wrote: > On Thu, 9 Dec 2010, Jeremy Chadwick wrote: > JC> > how can I clear stale traces of old pool? zero out the first and last MB of the disk. ZFS stores the GPT and other pool metadata in those two locations. It's nowhere near a MB in size, but if you clear out the first and last MB, you're guaranteed to clear out all traces of ZFS metadata. -- Freddie Cash fjwcash@gmail.com