From owner-freebsd-geom@FreeBSD.ORG Mon May 23 13:05:45 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 C5DC9106564A for ; Mon, 23 May 2011 13:05:45 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5448FC14 for ; Mon, 23 May 2011 13:05:44 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA12256; Mon, 23 May 2011 16:05:42 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DDA5BA4.2000807@FreeBSD.org> Date: Mon, 23 May 2011 16:05:40 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110504 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: "Andrey V. Elsukov" , freebsd-geom@FreeBSD.org References: <4DDA2F0B.2040203@yandex.ru> In-Reply-To: <4DDA2F0B.2040203@yandex.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: [RFC] Remove requirement of alignment to track from MBR scheme 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: Mon, 23 May 2011 13:05:45 -0000 on 23/05/2011 12:55 Andrey V. Elsukov said the following: > Hi, > > Since after r221788 many people report about lost of access to their > MBR partitions, i prepared new patch: > > http://people.freebsd.org/~ae/mbr_geometry.diff > > It removes from GEOM_PART_MBR constraints to alignment to track. > Now it is possible to create MBR partitions with exactly specified > start offset and size, and they will not be recalculated by kernel. > > Also the patch adds new option "-g" to the gpart(8) utility. This > option can be specified for "add" and "resize" subcommands. > gpart(8) uses information about provider's "geometry" and does > partition alignment how it did before for MBR. > > With these changes we give to users the choice how align their > partitions and also we still able to use some "broken" partition > tables. My personal opinion is that removing geometry enforcement (or even consideration) is a correct decision. -- Andriy Gapon