From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 14 10:51:58 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA717106564A for ; Fri, 14 Jan 2011 10:51:58 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward20.mail.yandex.net (forward20.mail.yandex.net [95.108.253.145]) by mx1.freebsd.org (Postfix) with ESMTP id 9BDEC8FC17 for ; Fri, 14 Jan 2011 10:51:58 +0000 (UTC) Received: from smtp19.mail.yandex.net (smtp19.mail.yandex.net [95.108.252.19]) by forward20.mail.yandex.net (Yandex) with ESMTP id E06B95D10F4E; Fri, 14 Jan 2011 13:51:56 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1295002316; bh=npXDluuA/1v8pQsXpRsAfsnlZus6ODtr+pSNNHoT6YY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=i9jwuX3Kv10Lk0B65+x2Gm9MFBrnZ11ufOUk33edtPzejXb/2oOcLnGpNhu9Nu9Z+ snJG+KA46yhTz61gXEVEnHFEtE5CcVAOtDe2uik2ufAMMsqDoxWNJZlxSuSxhxKYU/ M/NpAE4L/Up+6uU8flJXzSqbG9lSqNix+ZO1GEhU= Received: from [127.0.0.1] (ns.kirov.so-cdu.ru [77.72.136.145]) by smtp19.mail.yandex.net (Yandex) with ESMTPSA id A5C7728700A9; Fri, 14 Jan 2011 13:51:56 +0300 (MSK) Message-ID: <4D302ACC.7010606@yandex.ru> Date: Fri, 14 Jan 2011 13:51:56 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Daniel Braniss References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: more gpart/glabel problems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 10:51:59 -0000 On 14.01.2011 13:37, Daniel Braniss wrote: > and on the console: > GEOM: mfid0: the secondary GPT table is corrupt or invalid. > GEOM: mfid0: using the primary only -- recovery suggested. > GEOM: mfid0: the secondary GPT table is corrupt or invalid. > GEOM: mfid0: using the primary only -- recovery suggested. > GEOM: label/r0: corrupt or invalid GPT detected. > GEOM: label/r0: GPT rejected -- may not be recoverable. > > BTW, going the MBR way, it works as expected. > > so what am I doing wrong? GLABEL saves his metadata in the last sector of the given provider where secondary GPT is located. You can label mfid0 with glabel and after that create GPT on top of label/r0. This should work. -- WBR, Andrey V. Elsukov