Help recovering VM's from power outage machine.

zethman

New Member
Aug 10, 2024
1
0
1
Hello,

My proxmox server recently went through a power outage. One of my Stripped Mirrors in a ZFS Raid 10 pool failed and it appears that the config.db-wal and config.db-shm are corrupt as well. I cannot get into the GUI and my configs are no longer mounting to /etc/pve/qemu-server, its not a pretty site. Stupidly I have not kept any backups of anything. Thats the bad news, the good news is I'm able to see the ZVOL's of my VM's still under /dev and their symlinks in /dev/zvol/rpool. I was able to identify my file server's ZVOL, and mount it using kpartx -a <device> to back it up, which in my opinion was very lucky.

Because i'm able to access the ZVOLS of all my VM's, I'm wondering if theres any chance that I can get these VM's back up and running on a fresh install of Proxmox on a different machine. Is there no way to get their configuration's? Whats the best way to go about this?

1. Snapshot the Zvol and zfs send it to the new machine?
2. DD the raw data from the zvol and somehow attach the raw data in qemu?
3. Create a new VM on the new proxmox server, snapshot the VM's Zvol and ZFS Send it overwriting the zvol of the new vm on the new server?

Just looking for some opinions/help from anyone willing.

Thank you
 

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!