Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 10:34:24 +0200
From:      Freek Dijkstra <public@macfreek.nl>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: ZFS: unsupported ZFS version 5000 (should be 28)
Message-ID:  <5264E710.9090209@macfreek.nl>
In-Reply-To: <CA%2B7WWSdfGU2WkO58GUXkeG-u2T_12Gs-4Z7CynjaHWjUZfphXQ@mail.gmail.com>
References:  <52645329.3000806@macfreek.nl>	<52647372.7000203@macfreek.nl> <CA%2B7WWSdfGU2WkO58GUXkeG-u2T_12Gs-4Z7CynjaHWjUZfphXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21-10-2013 02:51, Kimmo Paasiala wrote:
> On Mon, Oct 21, 2013 at 3:21 AM, Freek Dijkstra <public@macfreek.nl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5264E710.9090209>