From owner-freebsd-stable@FreeBSD.ORG Mon Jan 6 21:13:58 2014 Return-Path: Delivered-To: freebsd-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 6F713CED for ; Mon, 6 Jan 2014 21:13:58 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA7B21A2C for ; Mon, 6 Jan 2014 21:13:57 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id w7so10450757lbi.30 for ; Mon, 06 Jan 2014 13:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=CzW9FvzavINkLi2PYQDprYdy0IBvilSpkvtgXBm4um4=; b=TUrY1Ud0fEawSCCcXlV/8T3DGNBrVhyuXQLrLtGGasJHK7vfkx2RnxOQWOFLoPqMFA xfWBcXB/qF/2CLFd2TNm5ryFfQCMLic1JmOTLqOnQhBJJ+YFkh2Yze2WoTHn2zYVXSV1 ycPGxjV4J7EMa9RlSBQxuWjKdQSi+l/r3rxqScgn5/1q9TrZZjsZMl+X8dpPvnqGXLUw g+y/k91wnfd7TUDHPmssqgVCeARFKVGm0BXsCLyLe6BbP4C+mi3evBG5NSd8Z1HRKqmg tOw8Gx6DkdmD4LG5Gv43xDF2Iw6z7J+L5ry0bEhAU7Sx1GLeGBDm6r5v3hGTYgFNX0YP X4ZQ== MIME-Version: 1.0 X-Received: by 10.112.143.163 with SMTP id sf3mr42681489lbb.20.1389042836010; Mon, 06 Jan 2014 13:13:56 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.38.43 with HTTP; Mon, 6 Jan 2014 13:13:55 -0800 (PST) In-Reply-To: <7a61b7a1f156dcf67b3ba44bca7dd906@mailbox.ijs.si> References: <7a61b7a1f156dcf67b3ba44bca7dd906@mailbox.ijs.si> Date: Mon, 6 Jan 2014 13:13:55 -0800 X-Google-Sender-Auth: L41LZG4fevUhnrpVtEC64eRxHL4 Message-ID: Subject: Re: Installer fails with "out of swap space" when installing ZFS-on-root with less then 4 GB mem (10.0-RC4) From: Craig Rodrigues To: Mark Martinec Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-stable@freebsd.org 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: Mon, 06 Jan 2014 21:13:58 -0000 On Sun, Jan 5, 2014 at 5:27 PM, Mark Martinec 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