Recreating a GPT

Andrew Berg aberg010 at my.hennepintech.edu
Mon May 5 01:11:48 UTC 2014


On 2014.05.04 19:26, Warren Block wrote:
> One copy of the disk should be enough.  Different partition offsets can 
> be tried without having to copy the whole disk again.  The backup GPT 
> table at the end of the disk will be vacant after "gpart destroy", so 
> rewriting it won't harm any actual data.
> ...
> 'gpart restore' is just a single-step version of 'gpart create' and 
> 'gpart add' for as many partitions as were on the original.
Thanks for the clarification.

I recreated the partition table, and zpool can now see it for import, but says
the disk is unavailable. It's possible the alignment is off slightly, but
unfortunately, I don't think that's the case. Thanks for the help, though.



More information about the freebsd-geom mailing list