Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 13:00:14 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Kaya Saman <kayasaman@gmail.com>, miles kuo <miles.kuo@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: How to mirror the FreeBSD OS on two disks
Message-ID:  <alpine.BSF.2.00.1207121253040.47013@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1207122037020.2852@wojtek.tensor.gdynia.pl>
References:  <CAGpP9XOvVor7HmxDP7SFhc7AFnpSf-s%2BgXbkJsguiAo=xNvnVA@mail.gmail.com> <CAPj0R5L1=HaY1Bf-51FB59J6Q4pX1s4yDbzXoAAWRwei6yqt-A@mail.gmail.com> <alpine.BSF.2.00.1207110702490.76348@wonkity.com> <alpine.BSF.2.00.1207121649080.2235@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1207121004560.47013@wonkity.com> <alpine.BSF.2.00.1207121941370.2744@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1207121147350.47013@wonkity.com> <alpine.BSF.2.00.1207122037020.2852@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
|               |
  ---------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207121253040.47013>