From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:21:26 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 1E6A3106566B for ; Tue, 10 Aug 2010 14:21:26 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 980E78FC1E for ; Tue, 10 Aug 2010 14:21:25 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0A19B4; Tue, 10 Aug 2010 16:23:10 +0200 Message-ID: <4C61606B.7000104@nagual.nl> Date: Tue, 10 Aug 2010 16:21:31 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: GEOM GPT table is corrupt. Recover? 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 14:21:26 -0000 I wanted to install ZFS on two 1Tb harddisks. I did a fdisk -I /dev/ad12 to begin with, but: GEOM: ad12: the primary GPT table is corrupt or invalid GEOM: ad12: using the secondary instead -- recovery strongly advised. OK, I want to follow up on this advice, but HOW? The "corruption" probably comes from the fact these disks were used fully as ZFS mirror under OpenSolaris with an EFI label. What's the best way to restore these disks to be fully used under FreeBSD (w/ ZFS).