From owner-freebsd-fs@FreeBSD.ORG Sun Oct 20 22:03:27 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F41596BA for ; Sun, 20 Oct 2013 22:03:26 +0000 (UTC) (envelope-from public@macfreek.nl) Received: from govert.macfreek.nl (govert.macfreek.nl [IPv6:2a01:238:43ed:a300:ea00:54c2:fb7a:7e66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B207A23A9 for ; Sun, 20 Oct 2013 22:03:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by govert.macfreek.nl (Postfix) with ESMTP id 971CD64A0B4 for ; Mon, 21 Oct 2013 00:03:23 +0200 (CEST) Received: from govert.macfreek.nl ([127.0.0.1]) by localhost (govert.macfreek.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yUGOxChRzo7I for ; Mon, 21 Oct 2013 00:03:23 +0200 (CEST) Received: from 77-175-100-208.ftth.ispfabriek.nl (77-175-100-208.FTTH.ispfabriek.nl [77.175.100.208]) by govert.macfreek.nl (Postfix) with ESMTPSA id 877D564A0B3 for ; Mon, 21 Oct 2013 00:03:22 +0200 (CEST) Message-ID: <52645329.3000806@macfreek.nl> Date: Mon, 21 Oct 2013 00:03:21 +0200 From: Freek Dijkstra User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: ZFS: unsupported ZFS version 5000 (should be 28) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 22:03:27 -0000 Hi, I just installed FreeBSD 9.2 on my host. It has two mirrored SSD disks, running ZFS. All seemed to worked fine, except that the device does not boot. Right after booting, it shows the error: ZFS: unsupported ZFS version 5000 (should be 28) ZFS: unsupported ZFS version 5000 (should be 28) gptzfsboot: No ZFS pools located, can't boot Previously I used FreeBSD 9.0 and had no problems after a fresh install. Am I correct that the above error means that the ZFS parition uses zpool version 5000 (the 'features-flag' version), while the bootloader only understands zpool version 28, and hence can't boot. I did install the bootcode using # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 It almost seems that the bootloader contained on the memdisk is out of date. I once again booted from a 9.2 memdisk, executed this command, and rebooted. It gave the same error. I also tried a 9.0 memdisk and 10.0-BETA1 memdisk, but got the same error again. Two questions: * Is the problem indeed an old version of the bootloader? * Is there a recent version of the bootloader and where exactly can I donwload and install it? FYI, this is how I installed FreeBSD 9.2. I used Downloads/FreeBSD-9.2-RELEASE-i386-memstick.img and at the partitioning stage, dropped to the shell and executed these commands: # gpart create -s gpt ada0 # gpart add -b 34 -s 94 -t freebsd-boot ada0 # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 # gpart add -t freebsd-zfs -l ssd0 ada0 # gpart create -s gpt ada1 # gpart add -b 34 -s 94 -t freebsd-boot ada1 # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 # gpart add -t freebsd-zfs -l ssd1 ada1 # zpool create -R /mnt zroot mirror /dev/gpt/ssd0 /dev/gpt/ssd1 # zfs set mountpoint=/ zroot # zfs set cachefile=none zroot # zpool set bootfs=zroot zroot Last, I created /boot/loader.conf to contain: zfs_load="YES" vfs.root.mountfrom="zfs:zroot" I am aware that this topic was previously discussed, but that discussion focussed on how to downgrade the zpool, while I prefer to upgrade the bootloader, if at all possible, Regards, Freek Dijkstra