From owner-freebsd-stable@FreeBSD.ORG Wed Dec 18 16:31:54 2013 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67968AAC; Wed, 18 Dec 2013 16:31:54 +0000 (UTC) Received: from mail.egr.msu.edu (hill.egr.msu.edu [35.9.37.162]) by mx1.freebsd.org (Postfix) with ESMTP id E51801D8C; Wed, 18 Dec 2013 16:31:53 +0000 (UTC) Received: from hill (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id AE1292DDFF; Wed, 18 Dec 2013 11:31:46 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by hill (hill.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2TaL1ZYWOieD; Wed, 18 Dec 2013 11:31:46 -0500 (EST) Received: from daemon.localdomain (daemon.egr.msu.edu [35.9.44.65]) by mail.egr.msu.edu (Postfix) with ESMTP id 89C0F2DDF5; Wed, 18 Dec 2013 11:31:46 -0500 (EST) Received: by daemon.localdomain (Postfix, from userid 21281) id 722DF35B51; Wed, 18 Dec 2013 11:31:46 -0500 (EST) Date: Wed, 18 Dec 2013 11:31:46 -0500 From: Adam McDougall To: "Teske, Devin" Subject: Re: bsdinstall, zfs booting, gpt partition order suitable for volume expansion Message-ID: <20131218163145.GA1630@egr.msu.edu> References: <20131210175323.GB1728@egr.msu.edu> <93C924DB-E760-4830-B5E2-3A20160AD322@fisglobal.com> <2D40298B-39FA-4BA9-9AC2-6006AA0E0C9C@fisglobal.com> <73E28A82-E9FE-4B25-8CE6-8B0543183E7F@fisglobal.com> <20131218135326.GM1728@egr.msu.edu> <1AD35F39-35EB-4AAD-B4B1-AF21B2B6F6BA@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1AD35F39-35EB-4AAD-B4B1-AF21B2B6F6BA@fisglobal.com> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: "stable@FreeBSD.org" , Devin Teske X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2013 16:31:54 -0000 On Wed, Dec 18, 2013 at 03:48:37PM +0000, Teske, Devin wrote: On Dec 18, 2013, at 5:53 AM, Adam McDougall wrote: > On Mon, Dec 16, 2013 at 08:18:14PM +0000, Teske, Devin wrote: > > [snip] > Alrighty-then... time to share... > > Here's the commit that does what you want... > > [snip] > I did my testing in virtualbox with 4 5g disk images. I'm skeptical that 5g is big enough. Without knowing much more about your setup (GPT v MBR; SWAP v No-SWAP; GELI v No-GELI), I'd just like to say that there are a couple combinations that would overflow that... E.g., GPT + GELI + SWAP by default would be better at 6GB per disk. E.g., MBR + SWAP would similarly work better at 6GB per disk. I have not tried GELI or MBR in the new installer, but initially when I had 2gb virtual disks, the install could complete fine if I reduced the swap size. I was just being stingy with virtual disk space since it was a test :) Figured 2x4 = 8GB minus some room for swap ought to be enough. While there is code to make sure you don't use disks that are too small, I can't say whether it catches every edge-case. NB: The nature of the error doesn't look to be based on using disks that are too small; I just thought I would mention it because 5G looks too small to me for some layouts. > Whether or not the > installer continues, it does seem to partition the disks as discussed. > > When I hit F3 I see: > DEBUG: zfs_create_boot: Creating root pool... > DEBUG: zfs_create_boot: zpool create -o altroot=/mnt -m none -f "zroot" ada0p3.nop ada1p3.nopzpool create ada2p3.nop "" > DEBUG: zfs_create_boot: retval=1 > cannot open 'ada1p3.nopzpool': no such GEOM provider If you send me the entire log, I can likely pinpoint the issue. That data displayed on Alt-F3 is saved in /tmp/bsdinstall_log -- Devin I have posted /tmp/bsdinstall_log at: http://p.bsd-unix.net/ps9qmfqc2 The corresponding procedure: Virtualbox, created VM with 4 2.0TB virtual hard disks Install Continue with default keymap Hostname: test Distribution Select: OK Partitioning: ZFS Pool Type/Disks: stripe, select ada0-3 and hit OK Install Last Chance! YES Thanks!