When it came to formatting the disks, I mistakenly used the name of the disk with the data instead of the one without it. The following command was used:
Code: Select all
gpart destroy -F vbbr1
When I realised my mistake it was too late and I had turned off the VM. But the underlying Linux system is still running. I installed and ran testdisk but it did not find the zfs partitions as far as I can tell:
https://pastebin.com/FSieVV4Z
I looked at the block device in hexedit and I can see that the data is still there:
https://pastebin.com/raw/eaikzYyp
https://pastebin.com/raw/HFf3ABQh
The partition was originally created in Linux(just one disk) using:
Code: Select all
sudo zpool create new-pool /dev/sdb
Can I get the partition information from some Linux cache since I didnt restart? If not, is there a way to restore the data. Its there according to hexedit.