Short answer, based on the panic I’d say data should be okay for the most part, this is an issue that has been hit a couple of times here. Seems to be a fair bit more common on systems with Non-ECC memory.
See: ZFS Pool 'Data' Causes Kernel Panic for a much more in-depth discussion on this.
First try importing the pool readonly. If that fails then you are probably out of luck.
zpool import tank -R /mnt -o readonly=on
(you can try again adding -F
if it fails the first time around).
If it’s able to import you should be able to try importing after setting sudo echo 1 > /sys/module/zfs/parameters/zfs_recover
and let it run for a day or two. Then reboot and hopefully it should be able to import normally without zfs_recover
enabled.
If you haven’t already, I’d proritize making sure you have proper backups in place for sensitive data.