From owner-freebsd-stable@FreeBSD.ORG Sun Dec 15 03:44:20 2013 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0F7DA76; Sun, 15 Dec 2013 03:44:20 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B60D814C0; Sun, 15 Dec 2013 03:44:20 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id rBF3iITk011877 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 14 Dec 2013 21:44:18 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.7]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.03.0158.001; Sat, 14 Dec 2013 21:44:17 -0600 From: "Teske, Devin" To: Adam McDougall Subject: Re: bsdinstall, zfs booting, gpt partition order suitable for volume expansion Thread-Topic: bsdinstall, zfs booting, gpt partition order suitable for volume expansion Thread-Index: AQHO9doM/shhS682tEKTWovDLLVEaZpVCLYA Date: Sun, 15 Dec 2013 03:44:16 +0000 Message-ID: <2D40298B-39FA-4BA9-9AC2-6006AA0E0C9C@fisglobal.com> References: <20131210175323.GB1728@egr.msu.edu> <93C924DB-E760-4830-B5E2-3A20160AD322@fisglobal.com> In-Reply-To: <93C924DB-E760-4830-B5E2-3A20160AD322@fisglobal.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2013-12-14_01:2013-12-12,2013-12-14,1970-01-01 signatures=0 Cc: "stable@FreeBSD.org" , Devin Teske , "Teske, Devin" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Devin Teske List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2013 03:44:21 -0000 On Dec 10, 2013, at 11:00 AM, Devin Teske wrote: >=20 > On Dec 10, 2013, at 9:53 AM, Adam McDougall wrote: >=20 >> I was wondering if either the default gpt partition order could become >> p1=3Dboot, p2=3Dswap, p3=3Dzpool, or if the installer could be enhanced = at >> some point to allow the user to select the order. It seems like it would >> be easier to expand the size of the raw device (VM, iscsi, etc) and expa= nd >> the zpool if it is the last partition. I am not in a hurry to get this >> solved, but if a change to the default order is worthwhile, it seems like >> before 10.0 would be a good time to set precedent. I'm trying to think = ahead >> where people will be installing 10 to VMs or expandable volumes so they = can >> take advantage of expansion with less hassle. I pinged Allen Jude on th= is >> briefly, I think he said it used to be that way but it was changed to >> accomodate MBR partitioning (I think, apologies for not remembering deta= ils). >=20 > Excellent idea. Let me put that into a patch. I'll let you know when I ha= ve > something that tests clean. GPT proved trivial. MBR on the other hand... that proved challenging. While trying to best that challenge... I uncovered more than a couple nasty= bugs while iterating over every possible combination in the installer. That being said... I'm coming out of the "tunnel" since you sent this e-mai= l and will soon have something to commit that implements this suggestion while at the same time, plugging a few edge-cases. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.