data recovery from mirrored zfs

Aug 24, 2021
24
2
1
57
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!