Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2011 22:59:13 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Marco Steinbach <coco@executive-computing.de>
Cc:        geom@freebsd.org
Subject:   Re: gpart restore seems to hang on corrupted secondary GPT label
Message-ID:  <4D617291.3020605@yandex.ru>
In-Reply-To: <4D616979.30406@executive-computing.de>
References:  <4D616979.30406@executive-computing.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.
> 
> 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.
> 
> 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.
> 
> 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.

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D617291.3020605>