Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 17:31:47 +0200
From:      Nicolas Rachinsky <fbsd-mas-0@ml.turing-complete.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: gmirror failed with error 19.
Message-ID:  <20111016153147.GA14371@mid.pc5.i.0x5.de>
In-Reply-To: <4E9AE945.70600@gmail.com>
References:  <CAKWzaHa4jhcOb_zm0EkpjwGA0i%2BUck3Vv_Fa0U7=RsfktjQPCw@mail.gmail.com> <165230773.20111016130358@serebryakov.spb.ru> <20111016110526.GA1764@mid.pc5.i.0x5.de> <1305170562.20111016155117@serebryakov.spb.ru> <4E9AE945.70600@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* "Luchesar V. ILIEV" <luchesar.iliev@gmail.com> [2011-10-16 17:25 +0300]:
> On 16/10/2011 14:51, Lev Serebryakov wrote:
> > Hello, Nicolas.
> > You wrote 16 ?????????????? 2011 ??., 15:05:26:
> > 
> >> Of course you have to create the gpt inside the gmirror, not on the
> >> same device the gmirror is based on. The warnings occur, when the gpt
> >> is seen on the real disk. But later the gpt on the gmirror is used,
> >> and on the device created by gmirror, gpt uses the last sector of that
> >> device.
> > 
> >> I hope this will not change.
> >   Problem is, that new BIOSes could refuse to boot from disk with such
> >  misplaced (from raw disk's and BIOS' point of view) secondary GPT.

Such a BIOS is of course possible. But I think that FreeBSD should
continue to support such configurations.

> Probably I'm missing something, but why not do the opposite: configure
> any gmirrors on top of the GPT partitions? That's at least what I do for
> my swap volumes, although, admittedly, I'm also heavily using ZFS, which
> means I don't have many partitions (2 to 3 at most).

If you have to resync after a power failure or a crash, gmirror will
start all resyncs at once, which is considerably slower. Sp you have
to disable automatic resyncs and handle it differently. And, with
onnly one mirror per disc, you cannot get into a situation, where some
mirrors use one disk and other mirrors the other one.

Nicolas
-- 
http://www.rachinsky.de/nicolas



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