From owner-freebsd-geom@FreeBSD.ORG Sun Oct 16 16:58:56 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 A254D1065670 for ; Sun, 16 Oct 2011 16:58:56 +0000 (UTC) (envelope-from nicolas@i.0x5.de) Received: from n.0x5.de (n.0x5.de [217.197.85.144]) by mx1.freebsd.org (Postfix) with ESMTP id 452868FC0C for ; Sun, 16 Oct 2011 16:58:56 +0000 (UTC) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 2AA961255C2; Sun, 16 Oct 2011 18:58:55 +0200 (CEST) Date: Sun, 16 Oct 2011 18:58:55 +0200 From: Nicolas Rachinsky To: freebsd-geom@freebsd.org Message-ID: <20111016165855.GA96421@mid.pc5.i.0x5.de> Mail-Followup-To: freebsd-geom@freebsd.org References: <165230773.20111016130358@serebryakov.spb.ru> <20111016110526.GA1764@mid.pc5.i.0x5.de> <1305170562.20111016155117@serebryakov.spb.ru> <4E9B033A.6080103@FreeBSD.org> <1977197077.20111016202024@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1977197077.20111016202024@serebryakov.spb.ru> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: 887BAE72 X-PGP-Fingerprint: 039E 9433 115F BC5F F88D 4524 5092 45C4 887B AE72 X-PGP-Keys: http://www.rachinsky.de/nicolas/gpg/nicolas_rachinsky.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: gmirror failed with error 19. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 16:58:56 -0000 * Lev Serebryakov [2011-10-16 20:20 +0400]: > You wrote 16 ??????? 2011 ?., 20:15:54: > > >>> 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. > > Yes, it works as you have described. > As we can see, it doesn't work as described for some users. And, > again, think about picking up GPT from mirror component, as reported > by many others. Hardcoding the providers should avoid this. Sadly glabel (and gpt and its labels) cannot be hardcoded. At the moment I'm just using the mirror name (with pX... attached) to avoid this. Nicolas -- http://www.rachinsky.de/nicolas