`gpart show` and secondary GPT header

James R. Van Artsdalen james-freebsd-current at jrv.org
Sun Jun 14 01:03:57 UTC 2009


Marcel Moolenaar wrote:
>
> On Jun 13, 2009, at 5:55 PM, James R. Van Artsdalen wrote:
>
>
>> Jun 13 06:31:42 bigback kernel: GEOM: ad4: the secondary GPT table is
>> corrupt or invalid.
>> Jun 13 06:31:42 bigback kernel: GEOM: ad4: using the primary only --
>> recovery suggested.
>> 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.
>
> Are you using gmirror by any chance?

Partitions 2-6 use gmirror.

# gpart show ad4
=>        34  2930277101  ad4  GPT  (1.4T)
          34         128    1  freebsd-boot  (64K)
         162     8388608    2  freebsd-ufs  (4.0G)
     8388770    41943040    3  freebsd-swap  (20G)
    50331810     8388608    4  freebsd-ufs  (4.0G)
    58720418    67108864    5  freebsd-ufs  (32G)
   125829282     8388608    6  freebsd-ufs  (4.0G)
   134217890  2796059245    7  freebsd-zfs  (1.3T)

# gmirror status
          Name    Status  Components
mirror/bigroot  COMPLETE  ad4p2
                          ad12p2
mirror/bigswap  COMPLETE  ad4p3
                          ad12p3
 mirror/bigtmp  COMPLETE  ad4p4
                          ad12p4
 mirror/bigusr  COMPLETE  ad4p5
                          ad12p5
 mirror/bigvar  COMPLETE  ad4p6
                          ad12p6



More information about the freebsd-current mailing list