Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 07:35:10 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: how to get rid of stale pool? [was (incorrect) stale zpool: how to rename?]
Message-ID:  <AANLkTikeZoSQxcYfrBQT3dYJemjdn_Mq-VAJrjMMu9mm@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1012101724020.20527@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1012092147200.88989@woozle.rinet.ru> <20101209193027.GA10784@icarus.home.lan> <alpine.BSF.2.00.1012101724020.20527@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 10, 2010 at 6:25 AM, Dmitry Morozovsky <marck@rinet.ru> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikeZoSQxcYfrBQT3dYJemjdn_Mq-VAJrjMMu9mm>