From owner-freebsd-questions@FreeBSD.ORG Tue Jan 17 05:42:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4118C106566C for ; Tue, 17 Jan 2012 05:42:02 +0000 (UTC) (envelope-from rwboyer@mac.com) Received: from nk11p99mm-asmtpout006.mac.com (nk11p99mm-asmtpout006.mac.com [17.158.233.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1E8F68FC14 for ; Tue, 17 Jan 2012 05:42:01 +0000 (UTC) MIME-version: 1.0 Received: from [192.168.10.132] ([38.102.16.155]) by nk11p03mm-asmtp996.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LXX00759H544RA0@nk11p03mm-asmtp996.mac.com> for freebsd-questions@freebsd.org; Tue, 17 Jan 2012 05:41:30 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-17_02:2012-01-17, 2012-01-17, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201160396 Content-type: multipart/signed; boundary="Apple-Mail=_3C889143-AA38-419E-A4F7-CA06E8F1EE04"; protocol="application/pkcs7-signature"; micalg=sha1 From: Robert Boyer In-reply-to: <1a19ab9b1abd5ded195369aa261406dd@msgid.frell.theremailer.net> Date: Tue, 17 Jan 2012 00:41:27 -0500 Message-id: <63E96688-C98C-4731-91EF-788E8EA6E0B9@mac.com> References: <1a19ab9b1abd5ded195369aa261406dd@msgid.frell.theremailer.net> To: Fritz Wuehler X-Mailer: Apple Mail (2.1251.1) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: How to destroy a zombie zpool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 05:42:02 -0000 --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--