Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 13:13:55 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Installer fails with "out of swap space" when installing ZFS-on-root with less then 4 GB mem (10.0-RC4)
Message-ID:  <CAG=rPVdFKA1gwnQSMG3tD5CcPFnfFeB_213RbdVmBxwq=y5txA@mail.gmail.com>
In-Reply-To: <7a61b7a1f156dcf67b3ba44bca7dd906@mailbox.ijs.si>
References:  <7a61b7a1f156dcf67b3ba44bca7dd906@mailbox.ijs.si>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 5, 2014 at 5:27 PM, Mark Martinec
<Mark.Martinec+freebsd@ijs.si>wrote:

> I was playing with bhyve on 10.0-RC4, trying to install another 10.0-RC4
> into
> a 16 GB ZFS volume using the network installation DVD. Mostly kept
> defaults,
> except that I chose a ZFS-on-root installation. The amd64 host was given 1
> GB
> of RAM on the first attempt, but failed. It fails on 2 GB RAM too, but
> succeeds
> when given 4 GB of RAM.
>


How far did you get with this?  If you use BHyve to boot FreeBSD,
the loader which is used is in /usr/src/sys/boot/userboot , and
this loader does not support a complete ZFS-only install.
I recently tried to do this, and the install worked (with 4G of RAM),
but when I tried to reboot the BHyve VM, the VM did not boot.

If you look at: https://admbugs.freebsd.org/show_bug.cgi?id=428#c7

you will see I had to use a variation of these steps:
https://wiki.freebsd.org/RootOnZFS/UFSBoot

where the /boot directory which contained the kernel and loader was on a
UFS partition,
but everything else was on ZFS.  That's the only way I could get the BHyve
VM to boot, with userboot.

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVdFKA1gwnQSMG3tD5CcPFnfFeB_213RbdVmBxwq=y5txA>