Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 12:15:42 +0300
From:      Daniel Kalchev <daniel@digsys.bg>
To:        freebsd-stable@freebsd.org
Subject:   Re: correct way to setup gmirror on 7.4?
Message-ID:  <4DB9303E.9090305@digsys.bg>
In-Reply-To: <BANLkTikDjPLijvWrpK4y48fp5q6c2LnpqA@mail.gmail.com>
References:  <BANLkTimCFcw_Oyp9RmBhfCZ9-QORUQEwfA@mail.gmail.com>	<xn0hddht75xo97q00a@news.gmane.org>	<20110427221554.GB22139@lava.net> <BANLkTikDjPLijvWrpK4y48fp5q6c2LnpqA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 28.04.11 01:30, Freddie Cash wrote:
> gmirror doesn't touch the start of the disk, but saves it's metadata
> in the last sector of the disk, and creates a new GEOM provider that's
> one sector shorter.
>
> GPT stores it's partition table in the first sector of the disk, and
> saves a backup copy of it in the last sector of the disk.
This looks like layering issue to me.

In theory, both gmirror and gpt should work on 'providers'. So if you 
give an gmirrored provider to gpt it should touch the last sector of the 
gmirror, but not the last sector of the disk - and not complain. It 
should not even be able to see the last sector of the real disk.

Is this hard to fix?

Daniel



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