Date: Tue, 17 Jan 2012 00:41:27 -0500 From: Robert Boyer <rwboyer@mac.com> To: Fritz Wuehler <fritz@spamexpire-201201.rodent.frell.theremailer.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to destroy a zombie zpool Message-ID: <63E96688-C98C-4731-91EF-788E8EA6E0B9@mac.com> In-Reply-To: <1a19ab9b1abd5ded195369aa261406dd@msgid.frell.theremailer.net>
index | next in thread | previous in thread | raw e-mail
I agree if you move drives and a particular zfs has not seen them before - and there is a zfs label at the end things can go pear shaped - however…
if you blast just the end of the drive it should be fine.
RB
Ps. Maybe I;ll title a book fun with zfs and glabel or cheap thrills with zfs, glabel and gpt uuid's - how to screw up MacOS/Darwin the easy way…
On Jan 16, 2012, at 11:19 PM, Fritz Wuehler wrote:
>> 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
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63E96688-C98C-4731-91EF-788E8EA6E0B9>
