gptzfsboot targeting wrong vdev

Christian Kratzer ck-lists at cksoft.de
Sun Jul 19 08:11:52 UTC 2020


Hi,

On Tue, 14 Jul 2020, Andriy Gapon wrote:
> On 13/07/2020 21:02, Christian Kratzer wrote:
>> In the future I will ensure  to have the first partition after boot to be the
>> zroot.
>
> By the way, I've been considering changing our ZFS boot code so that it does not
> treat a pool as a candidate unless it has bootfs explicitly set (non-default value).
> I think that that would be a reasonable change.  And not hard to do.
> But never got around to doing it.

that would actually be most welcome.

I have just finished changeing all my non boot freebsd-zfs partition types to freebsd-vinum
so as not to confuse the boot loader.

I also disabled my sas controllers exposing the drives in the arrays to the bios as that was
also bloating the initial set of potential targets to boot from.

So having an explicit way of targeting the boot devices would really be cool.

You would propably still need to keep the current default logic when there is no bootme
property set on any bios visible partition.

Greetings
Christian

-- 
Christian Kratzer                   CK Software GmbH
Email:   ck at cksoft.de               Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0       D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9       HRB 245288, Amtsgericht Stuttgart
Mobile:  +49 171 1947 843           Geschaeftsfuehrer: Christian Kratzer
Web:     http://www.cksoft.de/


More information about the freebsd-fs mailing list