How to mirror the FreeBSD OS on two disks

Warren Block wblock at wonkity.com
Thu Jul 12 19:00:15 UTC 2012


On Thu, 12 Jul 2012, Wojciech Puchar wrote:

>>>> If that last block is already part of an MBR partition, the more strict 
>>>> checking stops booting in 9.0.
>>> 
>>> not making MBR partition would not make problems.
>> 
>> There's no guarantee that bsdlabel checking won't be made more strict. No 
>> matter what type of partitioning scheme, the metadata should not be
>> inside the data area.
>> 
> gmirror puts it's metadata at the end of disk.
> bsdlabel is at the beginning. what a problem?

It's not the label, it's what the label declares for the partitions.  If 
the last partition includes the block of gmirror metadata, that's an 
error.  Pardon the ASCII diagrams.

Wrong:

partition table

partition 1-------
|                 |
  -----------------

...

partition n-------
|                 |
|gmirror metadata |
  -----------------


Right:

partition table

partition 1-----
|               |
  ---------------

...

partition n-----
|               |
  ---------------

gmirror metadata
|               |
  ---------------


More information about the freebsd-questions mailing list