From owner-freebsd-virtualization@FreeBSD.ORG Sat Feb 22 20:16:27 2014 Return-Path: Delivered-To: virtualization@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 1A15F4B3 for ; Sat, 22 Feb 2014 20:16:26 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5BBF61940 for ; Sat, 22 Feb 2014 20:16:26 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id CABD71534C4 for ; Sat, 22 Feb 2014 21:16:21 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b5BAReU7DCGD; Sat, 22 Feb 2014 21:16:19 +0100 (CET) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 8AAE2153448 for ; Sat, 22 Feb 2014 21:16:19 +0100 (CET) Message-ID: <53090599.5000505@digiware.nl> Date: Sat, 22 Feb 2014 21:16:25 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: virtualization@freebsd.org Subject: Bhyve and booting a ZFS-on-root system Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 20:16:27 -0000 Hi, Just for the fun of it, I tried my build zfs-system scripts in a bhyve-vm. I use the 10.0-RELEASE iso to get to a shell, config and interface and download my script. Installing does work, and on a regular system we can go and boot into a ZFS-on-Root system. In bhyve I get the following, on reboot: ----- freetest# vmrun.sh -d test10zfs -t tap1 -m 2048 test10zfs Launching virtual machine "test10zfs" ... Consoles: userboot FreeBSD/amd64 User boot, Revision 1.1 (root@freetest.digiware.nl, Tue Feb 11 10:03:58 CET 2014) \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK ------ And there is no known way (to me) to educate the loader to understand zfs disks.... Which loader is is used in booting? a special bhyve-loader the bootloader in the boot-partition. It seems this is the first one. If so I'm wondering if the grub-bhyve would be a trick to boot the Root-on-ZFS system.... But then the first question is: where do I find grub-bhyve Any suggestion is welcome... BTW: this is on a AMD system. BTW2: I read that there could be interest for a dedicated opteron-server to do bhyve development on.... I'm more than willing to put my test server in a slot in our datacenter for people to do testing on. ---- CPU: AMD Phenom(tm) II X6 1075T Processor (3013.84-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100fa0 Family = 0x10 Model = 0xa Stepping = 0 Features=0x178bfbff Features2=0x802009 AMDFeatures=0xee500800 AMDFeatures2=0x37ff --WjW