From owner-freebsd-current@FreeBSD.ORG Sun Oct 9 07:21:25 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B33FA106566C; Sun, 9 Oct 2011 07:21:25 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 70A478FC16; Sun, 9 Oct 2011 07:21:25 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p997LDhw041194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 9 Oct 2011 00:21:14 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p997LDXa041193; Sun, 9 Oct 2011 00:21:13 -0700 (PDT) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA06278; Sun, 9 Oct 11 00:00:55 PDT Date: Sun, 09 Oct 2011 07:00:02 -0700 From: perryh@pluto.rain.com To: lev@freebsd.org Message-Id: <4e91a8e2.Y3OdfyAUkARsSbU8%perryh@pluto.rain.com> References: <1927112464.20111004220507@serebryakov.spb.ru> <4E8B7A27.5070908@quip.cz> <344794801.20111005101957@serebryakov.spb.ru> <4E8C1426.60107@quip.cz> <251861322.20111005125825@serebryakov.spb.ru> <4E8C6E85.90005@quip.cz> <4E8CD662.90202@quip.cz> <4E8D9136.6040200@digsys.bg> <672948039.20111006175334@serebryakov.spb.ru> <4e8f076e.XGNH7dUgsC/mhr1j%perryh@pluto.rain.com> <1822982078.20111007234412@serebryakov.spb.ru> <4E8F5D82.7050906@digsys.bg> <1993293883.20111008125543@serebryakov.spb.ru> In-Reply-To: <1993293883.20111008125543@serebryakov.spb.ru> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 10 Oct 2011 16:20:51 +0000 Cc: daniel@digsys.bg, freebsd-current@freebsd.org, ivoras@freebsd.org, freebsd-geom@freebsd.org Subject: Re: RFC: Project geom-events X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2011 07:21:25 -0000 Lev Serebryakov wrote: > >> GPT _must_ be placed twice -- at first and last sectors > >> (really, more than one sectors). By standard. Secondary > >> copy must be at end of disk. Period. > > Then, "by standard" GPT cannot coexist with GLABEL. Such setup > > should be disallowed, or at least big nasty message that you > > have just shoot yourself in the leg should be output. (period) > Ok, maybe adding check to geom_part, that it is used on rank-1 > provider (whole disk) is not so bad idea. But it then raise > question how to install FreeBSD on software mirror, what is > useful. To install FreeBSD on a gmirrored disk, use MBR (or "dangerously dedicated" BSD label) instead of GPT. (This is one reason why BSD label and MBR should not be considered obsolete.) If you want to use gmirror and *have* to use GPT, e.g. if you have a (hypothetical) BIOS which will not boot from MBR, mirror the individual partitions instead of the whole disk. Granted that is more trouble, both to set up initially and to replace a failed drive.