All instances disappeared after formating hard drive

Hi, @Virux, you may recover with lxd recover tool, I suppose. Look at that link.
https://discuss.linuxcontainers.org/t/lxd-new-disaster-recovery-tool/11296
By the way, the error mentioned about zfs but in your post you have mentioned ext4.
Please post those commands output.
zfs list and if applicable lxc storage ls

Regards.