From owner-freebsd-geom@FreeBSD.ORG Sun Oct 16 11:23:53 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 1F3601065672 for ; Sun, 16 Oct 2011 11:23:53 +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 BC49E8FC0C for ; Sun, 16 Oct 2011 11:23:52 +0000 (UTC) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 748FD1255C2; Sun, 16 Oct 2011 13:05:26 +0200 (CEST) Date: Sun, 16 Oct 2011 13:05:26 +0200 From: Nicolas Rachinsky To: freebsd-geom@freebsd.org Message-ID: <20111016110526.GA1764@mid.pc5.i.0x5.de> Mail-Followup-To: freebsd-geom@freebsd.org References: <165230773.20111016130358@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165230773.20111016130358@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 11:23:53 -0000 * Lev Serebryakov [2011-10-16 13:03 +0400]: > 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. At least with 8.2 there is no problem to put a GPT in a gmirror. There are to warnings during boot (one from the bootloader and one from the kernel) but it's working fine. 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. Nicolas -- http://www.rachinsky.de/nicolas