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

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Dec 2010, Freddie Cash wrote:

FC> On Fri, Dec 10, 2010 at 6:25 AM, Dmitry Morozovsky <marck@rinet.ru> wrote:
FC> > On Thu, 9 Dec 2010, Jeremy Chadwick wrote:
FC> > JC> > how can I clear stale traces of old pool?
FC> 
FC> zero out the first and last MB of the disk.
FC> 
FC> ZFS stores the GPT and other pool metadata in those two locations.
FC> It's nowhere near a MB in size, but if you clear out the first and
FC> last MB, you're guaranteed to clear out all traces of ZFS metadata.

well, bot what if I would have keep my existing pool on these disks? ;-)

On the other hand, it's a mirror, and not too heavylu used, so I can remove 
second disk, clean it up, add it back, resilver, then do the same on the first 
one;

however, it seems to be a bit more generic problem: stale pool referring 
no-longre-accessible devices seem to be unclearable...

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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