[Bug 269182] the most recent 13.1-STABLE fails to boot in bhyve(8)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Jan 2023 19:37:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269182

--- Comment #1 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
I need to describe this setup better. It's a VM run in sysutils/vm-bhyve having
root on ZFS pool which is nested in the host's zvol volume. The VM was set up
almost 2 years ago, upgraded frequently together with the bhyve host to follow
stable/13 and so far run flawlessly.

I have done some more tests today and upgraded the guest to PRERELEASE in the
meantime. The guest is up and running now FreeBSD 13.2-PRERELEASE
stable/13test-n254194-a1362d625340, booted fine but it's still fragile, ie. any
attempts of rebooting the guest are unlikely to succeed.

I found that importing and exporting the guest's boot zpool nested on the
freebsd-zfs GPT partition of the zvol volume done from the host, has made it
bootable again. Under normal conditions vfs.zfs.vol.recursive is set to 0 and
nested zpool is not accessed from the host.

Anyway, it still looks like either ZFS nesting or bhyve(8) issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.