Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 10:49:47 -0800
From:      Matt Mullins <>
To:        FreeBSD Questions <>
Subject:   Re: How to destroy a zombie zpool
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Jan 16, 2012 at 8:37 AM, Daniel Staal <> 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=
> don't actually exist. =A0'zpool destroy' can't delete it, because it's no=
> 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

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: <>