Skip site navigation (1)Skip section navigation (2)
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>
References:  <1a19ab9b1abd5ded195369aa261406dd@msgid.frell.theremailer.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--Apple-Mail=_3C889143-AA38-419E-A4F7-CA06E8F1EE04
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

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=85

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=85




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=20
>> laptop, messed up, rebooted, *formatted the drives* and restarted.  =
Got=20
>> much further the next time, however...
>>=20
>> There is a zombie copy of the old zpool sitting around interfering =
with=20
>> things.  'zpool import' lists it, but it can't import it because the =
disks=20
>> don't actually exist.  'zpool destroy' can't delete it, because it's =
not=20
>> imported.  ('No such pool')  Any ideas on how to get rid of it?
>=20
> 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..
>=20
> 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
>=20
> _______________________________________________
> 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"


--Apple-Mail=_3C889143-AA38-419E-A4F7-CA06E8F1EE04--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?63E96688-C98C-4731-91EF-788E8EA6E0B9>