gmirror, gpart and MBR vs GPT in the Handbook

Warren Block wblock at wonkity.com
Sat Nov 30 21:17:41 UTC 2013


On Sat, 30 Nov 2013, Mike. wrote:

> The Handbook page about creating a gmirror array
> ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html )
> has the command:
>
> 	gpart create -s MBR mirror/gm0
>
> I've read elsewhere in the handbook that GPT is preferrable to
> the older and less versatile MBR scheme.

Mostly, it is.

> Is there a specific reason why MBR was used in the Handbook
> example for creating a mirror, instead of GPT?

Yes, there was, see the last paragraph of the Metadata Issues 
subsection, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html#geom-mirror-metadata

> Or was it just a preference of the person who wrote that Handbook 
> page?

That was me, and I would much prefer GPT.  However, whole-disk gmirror 
metadata and the GPT backup table conflict.


More information about the freebsd-questions mailing list