Home arrow Debugging Tips arrow the secondary GPT table is corrupt or invalid
the secondary GPT table is corrupt or invalid PDF
Monday, 14 November 2011
If you get the following error when you try to attach a GELI device:

  Nov 14 16:26:42 kernel: GEOM: ada1: the secondary GPT table is corrupt or invalid.
  Nov 14 16:26:42 kernel: GEOM: ada1: using the primary only -- recovery suggested.


Then the problem could be that you've init the drive for geli use with -s 4096 sector size but your hard drive does not support 4K sectors but 512 bytes sectors. This could happen in FreeBSD 9.0. In this case just re-init your GELI drive without -s 4096 option. For example correct use would be:

  geli init -l 256 -K /etc/geli/server.key /dev/ada1

Some Western Digital Green drives (even bigger ones) are known not to work with 4K sector sizes.
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?