Let there be a bhyve VM. The VM was doing great. One day during a cold pre-winter night it ran out of disk space (the VM, not the host). I shut down the VM, resized the virtual disk and wanted to boot the VM again but it fails to do so (can't boot from the HDD image for some reason).
I booted up the live environment on the VM to see what's up:
As I the VM was using ZFS I tried to import the pool:
Then I tried to recover the disk:
I'd like to understand what's going on here and how to fix it.
Presumably running out of disk space caused the GPT header to be overwritten at the end of the disk?
I booted up the live environment on the VM to see what's up:

As I the VM was using ZFS I tried to import the pool:

Then I tried to recover the disk:

I'd like to understand what's going on here and how to fix it.
Presumably running out of disk space caused the GPT header to be overwritten at the end of the disk?