From owner-freebsd-fs@FreeBSD.ORG Mon Oct 21 00:51:30 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 1F0CB230 for ; Mon, 21 Oct 2013 00:51:30 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qe0-x231.google.com (mail-qe0-x231.google.com [IPv6:2607:f8b0:400d:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7CC52D70 for ; Mon, 21 Oct 2013 00:51:29 +0000 (UTC) Received: by mail-qe0-f49.google.com with SMTP id a11so3377523qen.36 for ; Sun, 20 Oct 2013 17:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GkqSxXr79Zf+uiKVvaWzZTFs0qM1buOlDck7opcYeKY=; b=YwgFdK1esqfIFvNDIIgm+sKf0lcO7S1Zj8/QeeplMr+KMjRUvol16Tgvw5TNgaBCiY iTPcoofPXODT5WGl5RNiMWxzRN4efmCP+4NiPig5num+bqNNNH2dXwaKKmbWeml4+ozk sfU9J+WBE0fQtEpejw+0KAkqr0v3kfcbRKL0LGzUSaT806sDGI4g4I9fgB+HLyYSiIJf CigtnyKWCiX3PRCRmt8ZIrv05VGSOE5Yao0ygoslqcEW+iOGLxN9LGmAe5qrYqUIcO6B mDxZ9dGxkWK3OZQmOrb92hTIeDF/YCgtqmF35AciMbxjxtEn/OFmeDsySw/LNZkImq3N 28eQ== MIME-Version: 1.0 X-Received: by 10.49.71.239 with SMTP id y15mr19313517qeu.14.1382316689051; Sun, 20 Oct 2013 17:51:29 -0700 (PDT) Received: by 10.96.180.233 with HTTP; Sun, 20 Oct 2013 17:51:28 -0700 (PDT) In-Reply-To: <52647372.7000203@macfreek.nl> References: <52645329.3000806@macfreek.nl> <52647372.7000203@macfreek.nl> Date: Mon, 21 Oct 2013 03:51:28 +0300 Message-ID: Subject: Re: ZFS: unsupported ZFS version 5000 (should be 28) From: Kimmo Paasiala To: Freek Dijkstra Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs 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 00:51:30 -0000 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. -Kimmo