`gpart show` and secondary GPT header

Marcel Moolenaar xcllnt at mac.com
Tue Jun 16 16:28:41 UTC 2009


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 at mac.com





More information about the freebsd-current mailing list