From owner-freebsd-current@FreeBSD.ORG Tue Jun 16 16:28:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02A001065670 for ; Tue, 16 Jun 2009 16:28:41 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id E07D18FC13 for ; Tue, 16 Jun 2009 16:28:40 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KLC00CARB3SLN20@asmtp022.mac.com> for freebsd-current@freebsd.org; Tue, 16 Jun 2009 09:28:40 -0700 (PDT) Message-id: <19563E0A-3A5A-4B0C-BB89-934A44CF4A82@mac.com> From: Marcel Moolenaar To: Harald Schmalzbauer In-reply-to: <4A37C1A7.1070801@omnilan.de> Date: Tue, 16 Jun 2009 09:28:39 -0700 References: <4A344A9F.5020708@jrv.org> <4A344C67.8000101@jrv.org> <4A37C1A7.1070801@omnilan.de> X-Mailer: Apple Mail (2.935.3) Cc: Alexander Best , FreeBSD Current , "James R. Van Artsdalen" Subject: Re: `gpart show` and secondary GPT header X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 16:28:41 -0000 On Jun 16, 2009, at 9:00 AM, Harald Schmalzbauer wrote: > Marcel Moolenaar schrieb am 2009-06-14 07:23 (localtime): > ... >>>>> Jun 13 06:31:42 bigback kernel: GEOM: ad12: the secondary GPT >>>>> table is >>>>> corrupt or invalid. >>>>> Jun 13 06:31:42 bigback kernel: GEOM: ad12: using the primary >>>>> only -- >>>>> recovery suggested. > > I'm curious what the correct way to recover is. > I also tried dd, but without success. > `gpt` had a recover functionality if I remember corretcly. Recovery is not yet implemented in gpart. That would be the correct way to recover. And yes, gpt(8) has recovery. Thus, gpt(8) is the right way to recover on -STABLE. FYI, -- Marcel Moolenaar xcllnt@mac.com