FreeBSD-12.2p12 - beadm-1.3.2 When booting into a newly created BE the system reports `internal error failed to initialize ZFS library` and hangs at the point of mounting the filesystems. Booting into the existing R BE proceeds normally. Steps to reproduce: 1. Create new BE using beadm (beadm create newbe). 2. Reboot (shutdown -r now). 3. Interrupt default boot at FreeBSD boot menu (8). 4. Select BE newbe (2). 5. Proceed to boot. Expected behaviour: System boots and login prompt appears at console. Observed behaviour: System hangs after displaying date and time on console. Console is non-responsive. System can be restarted using <ctrl><alt><del> from console keyboard.
Error is reported during boot process: internal error failed to initialize ZFS library
f I create a BE using beadm; and I activate that BE; and I reboot the system; and I do not interact with the boot process; then the system boots. If I reboot the system from that BE; and I interact with the boot process; and I select the original BE; then the system boots. If I activate the original BE; and reboot the system; and I do not interact with the boot menu; then the system boots. If I reboot the system; and I select the new BE from the boot menu; then the zfs error is reported and the system fails to boot.
(In reply to James B. Byrne from comment #0) I have jest done that: # beadm create test # reboot // select 'test' by hand at FreeBSD boot menu (8). ... and system booted to 'test' BE as usual. Zero problems. I can not reproduce your problem. Can you record what are you doing with a phone and post that movie on some platform and link it here? Regards.
(In reply to Slawomir Wojciech Wojtczak from comment #3) To bring recording devices into the computer facility is not allowed. I can probably get the point stretched to permit recording what I am doing on my workstation in my own office, which is where I perform the maintenance on the host via ssh. But, recording the boot sequence on the system console inside the computer facility may prove difficult to accomplish. I will try, but it is not likely to be permitted; and if it is then it will not be approved today. On the other hand, I created a BE on the same host using bectl. This BE does not exhibit this problem. That BEs can be selected from the boot menu and the system starts without error.
Should we close that one?
Please close this one.