Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2008 12:20:49 +0000 (UTC)
From:      Vadim Goncharov <vadim_nuclight@mail.ru>
To:        freebsd-geom@freebsd.org
Subject:   Re: gmirror insert error: Synchronization request failed (error=1)
Message-ID:  <slrngjq491.1sqb.vadim_nuclight@server.filona.x88.info>
References:  <6AEFCB5D-BF7F-49EE-9EDC-E5CD63920508@clamothe.com> <20081205144806.GA3284@garage.freebsd.pl> <8C75F72F-A68C-4E42-97F6-FA4BD4B2F57A@clamothe.com> <20081205204515.GA2303@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Pawel Jakub Dawidek! 

On Fri, 5 Dec 2008 21:45:15 +0100; Pawel Jakub Dawidek wrote about 'Re: gmirror insert error: Synchronization request failed (error=1)':

>> What offset should I use, then?  Does this only apply to the first =20
>> labels in each slice, or should there be an offset between each label?
> First 16 sectors is where bsdlabel keeps its metadata. bsdlabel(8)
> correctly skips those, but not sysinstall, which is lame on our
> (FreeBSD) side, I know.

What? bsdlabel occupies only two sectors, in fact, only one, because first
sector (0) is occupied by boot1, if any. Both UFS and swap are teached not to
use first 8K of space, to be that able to contain boot2.

In fact, the only problem that could arise from an offset-0 UFS partition is
that a glabel(8) will incorrectly detect /dev/ufs/label on a slice itself,
not partition, but I always have swap ('b' partition) starting from offset 0
and never had any problems (my 'a' UFS'es start from 16 when there no swap).

So what metadata do you really mean?

-- 
WBR, Vadim Goncharov. ICQ#166852181       mailto:vadim_nuclight@mail.ru
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrngjq491.1sqb.vadim_nuclight>