ZFS: unsupported ZFS version 5000 (should be 28)

Freek Dijkstra public at macfreek.nl
Mon Oct 21 08:34:31 UTC 2013


On 21-10-2013 02:51, Kimmo Paasiala wrote:
> On Mon, Oct 21, 2013 at 3:21 AM, Freek Dijkstra <public at 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


More information about the freebsd-fs mailing list