From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:52:10 2010 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 11F1D1065672 for ; Tue, 10 Aug 2010 22:52:10 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id CC7408FC1E for ; Tue, 10 Aug 2010 22:52:09 +0000 (UTC) Received: from pd6mr1no-ssvc.prod.shaw.ca ([10.0.153.188]) by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 10 Aug 2010 16:52:09 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=AxT4mbShILfi4H59ir30tW5tIg8EH6BS6jNThUMnFNA= c=1 sm=1 a=VphdPIyG4kEA:10 a=CNzgWDZxw1CFIPIub24A:9 a=irSBHZju7RhVYLZduXkA:7 a=k9Kob2OJ5RRy4xgQqpwtosyf82EA:4 a=wPNLvfGTeEIA:10 a=ygzQiHyY5E1kSIfLNF8A:9 a=Q4ew6_yG30dgoNg8teAA:7 a=-9glLxD9nkhRmbsPobc8JC7vn8UA:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO pd6ms3no.prod.shaw.ca) ([10.0.153.22]) by pd6mr1no-svcs.prod.shaw.ca with ESMTP; 10 Aug 2010 16:52:09 -0600 Received: from shaw.ca (pd6ms3no-con [10.0.145.194]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0L6Y0008KKUW2250@l-daemon> for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 16:52:08 -0600 (MDT) Received: from [10.0.144.232] (Forwarded-For: [10.0.146.232]) by pd6ims2.prod.shaw.ca (mshttpd); Tue, 10 Aug 2010 16:52:08 -0600 Date: Tue, 10 Aug 2010 16:52:08 -0600 From: Dale Scott In-reply-to: To: Michael Powell Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) Content-language: en X-Accept-Language: en Priority: normal References: <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: RE: ZFS woes 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, 10 Aug 2010 22:52:10 -0000 =3E=3E wiped out the firt mb=3B i used sysinstall to create a fbsd=A0sli= ce=3B wiped =3E=3E it out again=3B booted knoppix to create an EFI / GPT=3B booted i= nto =3E=3E opensolaris and created a zpool (v14)=2C but nothing=2C nothing=A0= =3E=3E did the=A0trick=2E I was doing a vanilla fbsd install recently using a couple re-claimed 25= 0GB IDE drives=2E The install completed without errors=2C but after rebo= ot GEOM complained bitterly about the secondary GPT table on the boot dr= ive being corrupted or invalid=2C and unrecoverable corrupted or invalid= GPT tables on the 2nd drive=2E By trying something like above=2C I was = able to get the system drive to rebuild the secondary GPT table=2C but n= othing worked on the second drive=2E Google told me a targeted approach = was technically possible (by calculating exactly where a specific drive = stores its GPT metadata and zeroing just that bit)=2C but also that the = broader solution of zeroing out the entire drive would be faster for me = than figuring out the calculation (about 18 hrs to zero the entire drive= =2C at least it was mostly while sleeping)=3A =22dd if=3D/dev/zero of=3D= /dev/ad3 bs=3D64K=22 (no idea if the block size is optimal or even=A0rel= evant)=2E Dale Scott