When I try to use the command `bectl activate -t default` if fails with the following output:
ZFS_IOC_NEXTBOOT failed: Unknown error: 1030
Did not successfully activate boot environment default
for next boot
Info about my system:
uname -a: FreeBSD sbox-home-lab.home 13.0-CURRENT FreeBSD 13.0-CURRENT #2 r363788: Mon Aug 3 14:59:45 UTC 2020 email@example.com:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Any idea why is this happening?
Adding a couple more folks that might immediately recognize this, due to other work in the error.
I'm assuming this is not a UEFI boot? I think that would have failed earlier.
And this is an unmodified -CURRENT, or -CURRENT with new OpenZFS from the CFT?
Have you used bectl avtivate -t before?
can you run: zpool status zroot to get disk device name, then: hexdump -C /dev/diskname | less, search 2000 and paste 5-10 lines from it.
Then try zfsbootcfg "", does it get errors? if not, try bectl activate -t again.
A commit references this bug:
Date: Wed Aug 5 14:08:45 UTC 2020
New revision: 363910
zfs_keys_nextboot array is missing ZPOOL_CONFIG_POOL_GUID and ZPOOL_CONFIG_GUID
As we do check the incomint nvlist, we either need to list all possible
keys or use wildcard.
Reported by: firstname.lastname@example.org
Sponsored by: Netflix, Klara Inc.