Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 13:59:34 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Andrei Kolu <antik@bsd.ee>
Cc:        freebsd-current@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: gmirror failed with error 19.
Message-ID:  <1775311702.20111016135934@serebryakov.spb.ru>
In-Reply-To: <CAKWzaHZvsCKfJb5xjhBHJiFO6v9omD_dB7duK%2BX9LJexQZ-z_A@mail.gmail.com>
References:  <CAKWzaHa4jhcOb_zm0EkpjwGA0i%2BUck3Vv_Fa0U7=RsfktjQPCw@mail.gmail.com> <165230773.20111016130358@serebryakov.spb.ru> <CAKWzaHZvsCKfJb5xjhBHJiFO6v9omD_dB7duK%2BX9LJexQZ-z_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Andrei.
You wrote 16 =D0=BE=D0=BA=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3., 13:29=
:05:

>> > as livecd and recovering gpt. But I still can't boot from geom mirror.
>>   GEOM classes (mirror, stripe, raid3, etc) is not compatible with
>>  GPT. GPT want to store its copy on last sector(s) of drive. If your
>>  put it on gmirror volume, last sector is occuped by gmirror metadata.
> When I boot from memstick with FreeBSD 9 BETA3 I see error "gptboot: inva=
lid
> backup GPT header". So FreeBSD 9 is not compatible with geom mirror anymo=
re
> because by default installer configure GPT partitions?
  Nobody stops you from installing FreeBSD on disk with MBR, even if
memstick is prepared with GPT (which have another problem, as images
for different memsticks should have different size to have GPT in last
sector). And FreeBSD's gptloader has relaxed checks and doesn't refuse
to boot if second GPT copy is valid, but not in last sectror(s) of
drive.

  All these questions were discussed a few days ago in current@
mailing list, without any clear conclusion :(

 Here is proposal (from me and other users), that there should be BIG
WARNING in documentation and in utilities when GPT is created not on
raw disk, but over some other GEOM. But, again, I didn't see clear
approval from "senior developers" (not to speak about Release
Engineers) for such change...

 (I've CCed current@ mailing list, as most of discussion on this topic
 was there).

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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