From owner-freebsd-geom@FreeBSD.ORG Sun Feb 20 20:03:10 2011 Return-Path: Delivered-To: geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606B3106564A for ; Sun, 20 Feb 2011 20:03:10 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [95.108.130.92]) by mx1.freebsd.org (Postfix) with ESMTP id 01B8F8FC0A for ; Sun, 20 Feb 2011 20:03:09 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id 86B1219814CC; Sun, 20 Feb 2011 22:59:33 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1298231973; bh=08usVvYVhvEfcB2J0eBKAJ6+qjohDVHD44UJ/aAjJts=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=URVqOfCBmmhjvcBYng6BuRKfZ4plhgmNSvg2BmmJNoIJX5LCjM7Ov0SNbMqtzXhfw TRAoLayqkVGKW/FMkdzoaXuNikOYISiH2sdCgphYMgPolb6CZ+vcIIW5Uba5/Ol5S3 Roxc+xwWgYos2g4uoqR55jKGTVxgq+BoWtP107Ag= Received: from [178.141.5.98] (dynamic-178-141-5-98.kirov.comstar-r.ru [178.141.5.98]) by smtp11.mail.yandex.net (Yandex) with ESMTPSA id 4418F4CC0080; Sun, 20 Feb 2011 22:59:33 +0300 (MSK) Message-ID: <4D617291.3020605@yandex.ru> Date: Sun, 20 Feb 2011 22:59:13 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110122 Thunderbird/3.1.7 MIME-Version: 1.0 To: Marco Steinbach References: <4D616979.30406@executive-computing.de> In-Reply-To: <4D616979.30406@executive-computing.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDA919994DF1A2227C2ED0E7F" Cc: geom@freebsd.org Subject: Re: gpart restore seems to hang on corrupted secondary GPT label X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 20:03:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDA919994DF1A2227C2ED0E7F Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 20.02.2011 22:20, Marco Steinbach wrote: > gpart restore seems to hang upon restoring the secondary GPT table on a= > drive formerly used as startup and system disc in a Mac OSX system. >=20 > Oddly, I was already able to mount the drive and back up data to it > before, where I simply ignored the warning (which I'm not exactly proud= > of now), disklabeled and newfs'ed the drive and went on. >=20 > The backed up data is of no importance, and I could probably simply dd > out the gpt data, but I tried gpart restore, which simply sits (see > truss output) and seems to wait. >=20 > I'm in a position of being able to try and test this with different > revisions, if someone wants me to. To recover corrupted GPT you should use `gpart recover` command. --=20 WBR, Andrey V. Elsukov --------------enigDA919994DF1A2227C2ED0E7F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBAgAGBQJNYXKVAAoJEAHF6gQQyKF600YH/1SAnfb3p8LVOqpgVeXWvXb/ gQNzZS35+MWMy8s5qTkuzXmxDhjEomx6dhx2BG8Izmg5E4K2GBECauyf47D7fqwj KiEnSKZ/R1ObZ8r7ecO3cB4bv98B4Pfvfj+NDQ84TDGhIpOEGxhYftKR5PjRXAGo WUCN8RiHoQFf/ODI+PsC73mKq/st3qVYTNU4GCeRmI48Psy+G0qt2GDevO75r1Ki vGaERDKT0w/HuI4XnmVeSvGCnH1emrNwlA7aVowTHjgHGB6AdWzdEKNAzCybUWo3 wNdspysfS8pl6Z/zT75U9h9Tg4+m7P78niEMNbeBV94iwCgqqX51CbYx7nzbrxE= =2HkE -----END PGP SIGNATURE----- --------------enigDA919994DF1A2227C2ED0E7F--