Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 11:31:46 -0500
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        "Teske, Devin" <Devin.Teske@fisglobal.com>
Cc:        "stable@FreeBSD.org" <stable@FreeBSD.org>, Devin Teske <dteske@freebsd.org>
Subject:   Re: bsdinstall, zfs booting, gpt partition order suitable for volume expansion
Message-ID:  <20131218163145.GA1630@egr.msu.edu>
In-Reply-To: <1AD35F39-35EB-4AAD-B4B1-AF21B2B6F6BA@fisglobal.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <output below>
  > 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131218163145.GA1630>