Date: Mon, 16 Jan 2012 10:49:47 -0800 From: Matt Mullins <mokomull@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to destroy a zombie zpool Message-ID: <CAPyT1SH_cH9z6w_H4OPxpvhBFTCQ55Q8p7bjh6w88DVJbGp=zQ@mail.gmail.com> In-Reply-To: <EF529D72AB9F6D3894DD3E1B@mac-pro.magehandbook.com> References: <EF529D72AB9F6D3894DD3E1B@mac-pro.magehandbook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 16, 2012 at 8:37 AM, Daniel Staal <DStaal@usa.net> wrote: > There is a zombie copy of the old zpool sitting around interfering with > things. =A0'zpool import' lists it, but it can't import it because the di= sks > don't actually exist. =A0'zpool destroy' can't delete it, because it's no= t > imported. =A0('No such pool') =A0Any ideas on how to get rid of it? It sounds like your /boot/zfs/zpool.cache file still has the pool listed. I can't find definitive documentation to this end, but I think "zpool export <pool name>" might remove the entry from the zpool cache. If that still doesn't work (and you haven't yet put another filesystem on those disks), you might get buy with using dd to wipe the first and last several MB of the disk/partitions that had been in the pool. Of course, if the disks have already been re-used or removed, then zfs shouldn't be finding them when it scans the device nodes. Hope this helps, Matt Mullins
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyT1SH_cH9z6w_H4OPxpvhBFTCQ55Q8p7bjh6w88DVJbGp=zQ>