gpart restore seems to hang on corrupted secondary GPT label
Andrey V. Elsukov
bu7cher at yandex.ru
Sun Feb 20 20:03:10 UTC 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20110220/2b86122c/signature.pgp
More information about the freebsd-geom
mailing list