How to destroy a zombie zpool
fritz at spamexpire-201201.rodent.frell.theremailer.net
Tue Jan 17 04:21:16 UTC 2012
> I've got a weird problem... I was working on installing 9.0 w/zfs on my
> laptop, messed up, rebooted, *formatted the drives* and restarted. Got
> much further the next time, however...
> There is a zombie copy of the old zpool sitting around interfering with
> things. 'zpool import' lists it, but it can't import it because the disks
> don't actually exist. 'zpool destroy' can't delete it, because it's not
> imported. ('No such pool') Any ideas on how to get rid of it?
zfs is famous for fucking itself like this. the only totally safe way is to
dd the drive since nailing the label doesn't clear out stuff at the far end
of the filesystem that can really ruin your day. don't ask me how i know..
it will take a few hours dd'ing from /dev/zero to your devices but it is
well worth it when you do any major surgery on drives that had zfs at one
point and you want to use them over again with zfs
More information about the freebsd-questions