data recovery from mirrored zfs

aconnor

Member
Aug 24, 2021
26
5
23
58
Hi,
I've been struggling with a node for some time where I couldn't backup, copy or migrate the VMs. Tonight it seems to have gone down for the last time, so I'll go onsite tomorrow to see what I can do to fix it.

The Proxmox OS and datastore is all on a pair of ZFS mirrored NVMe drives.

Can I simply remove 1 of these drives, stick it in an external USB case and plug it into a new Proxmox node to copy the VMs off?

Anything else you suggest?
 
Beside the zvols (virtual disks of your VMs) and datasets (virtual disks of your LXCs) you also need the guest config files stored in a SQLite DB. The contents of this DB gets mounted at "/etc/pve" with the pmxcfs but only if the pve-cluster service is running. If your PVE isn't able to boot you will just find an empty "/etc/pve" folder so you can't backup the config files in "/etc/pve/qemu-server" and "/etc/pve/lxc".
 
thanks @Dunuin - couldn't get it to boot at all.
I got the VM running on different hardware (and software) and I brought the non booting node back to the office to see if I can find out what killed it. Thanks for your help