From owner-freebsd-geom@FreeBSD.ORG Sun Oct 16 09:59:42 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1868106564A; Sun, 16 Oct 2011 09:59:42 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id B53948FC12; Sun, 16 Oct 2011 09:59:42 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:586a:cd69:8b52:feee]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 67CC04AC1C; Sun, 16 Oct 2011 13:59:41 +0400 (MSD) Date: Sun, 16 Oct 2011 13:59:34 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1775311702.20111016135934@serebryakov.spb.ru> To: Andrei Kolu In-Reply-To: References: <165230773.20111016130358@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: gmirror failed with error 19. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2011 09:59:43 -0000 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