how to get rid of stale pool? [was (incorrect) stale zpool: how to rename?]

Freddie Cash fjwcash at gmail.com
Fri Dec 10 15:35:11 UTC 2010


On Fri, Dec 10, 2010 at 6:25 AM, Dmitry Morozovsky <marck at 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 at gmail.com


More information about the freebsd-fs mailing list