From owner-freebsd-fs@FreeBSD.ORG Mon Oct 21 08:34:31 2013 Return-Path: Delivered-To: freebsd-fs@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 ESMTP id 50923F7F for ; Mon, 21 Oct 2013 08:34:31 +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 1097024D9 for ; Mon, 21 Oct 2013 08:34:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by govert.macfreek.nl (Postfix) with ESMTP id F086C64A0BE; Mon, 21 Oct 2013 10:34:27 +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 fe4W9I-khuAz; Mon, 21 Oct 2013 10:34:27 +0200 (CEST) Received: from saramac0003.local (unknown [145.100.42.205]) by govert.macfreek.nl (Postfix) with ESMTPSA id 1048D64A0BD; Mon, 21 Oct 2013 10:34:26 +0200 (CEST) Message-ID: <5264E710.9090209@macfreek.nl> Date: Mon, 21 Oct 2013 10:34:24 +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 Subject: Re: ZFS: unsupported ZFS version 5000 (should be 28) References: <52645329.3000806@macfreek.nl> <52647372.7000203@macfreek.nl> In-Reply-To: Content-Type: text/plain; charset=UTF-8 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: Mon, 21 Oct 2013 08:34:31 -0000 On 21-10-2013 02:51, Kimmo Paasiala wrote: > On Mon, Oct 21, 2013 at 3:21 AM, Freek Dijkstra wrote: >> On 21-10-2013 00:03, Freek Dijkstra wrote: >> >>> ZFS: unsupported ZFS version 5000 (should be 28) >>> gptzfsboot: No ZFS pools located, can't boot >> >> [...] >> >>> # 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 >> >> I tried a full install again, and it seems that 94 blocks was too small >> for freebsd-boot. I just tried again, and things seem to work now. >> >> I am curious if this indeed was the cause. >> Is there a way to determine the required size of a bootloader? >> >> If this was indeed the cause (I need some sleep, so am not ruling >> anything out :) ), I guess it is useful to add a warning message to gpart. >> >> Regards, >> Freek >> > > You can look at the size of the /boot/gptzfsboot file to see how much > space it will require. To be on the safe side you can always use a > 256KB (512 blocks) partition or even larger for the boot loader. This > allows room in case the loader suddenly grows in size in later > versions. Thanks, your reply is much appreciated. I'll check later if indeed was the cause, but will use a different machines for that. (Now that this host boots fine, I prefer to get it up and running asap). Note that the FreeBSD handbook says the max size of the boot partition is 512kByte, so I'm going for that. Just a last check (in case anyone knows): Is this error: ZFS: unsupported ZFS version 5000 (should be 28) printed by the code present on the boot partition, or is it printed by /boot/loader on the regular disk. I presume the first. Freek