zpool upgrade to draid feature: does it require updated zfs boot code ?

Kurt Jaeger pi at freebsd.org
Thu Jan 28 19:00:36 UTC 2021


Short question:

Does a zpool upgrade on 14.0 (current) for the draid feature
require a boot code update ?

Long version of the same question:

I've upgraded my testbox to FreeBSD 14.0-CURRENT #0 main-c256294-g2cf84258922f
and the system listed the zfs-feature draid as available if I do an
zpool upgrade.

The pool resides on two nvme drives:

         mirror-0  ONLINE       0     0     0
           nvd0p4  ONLINE       0     0     0
           nvd1p4  ONLINE       0     0     0

Normally, when I do the zpool upgrade for the pool, and
the zpool upgrade also requires an upgrade to the bootcode,
some message is displayed, reminding me to do so.

With the draid update, no message was displayed.

Does it require the bootcode update anyway or, if not, why not ?

 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd0
 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 nvd1

pi at opsec.eu            +49 171 3101372                    Now what ?

More information about the freebsd-fs mailing list