[SOLVED] Recovery VMs from LVM Disk

suzuneu

New Member
Sep 17, 2022
6
0
1
Hello.

I have an LVM SSD disk, which contains a VM Disk. However, the VM is not shown in the Proxmox sidebar. How can I recover the VM from here?
1666135124539.png1666135135090.png
 
Is the VM not shown because its gone ? Or should it be shown?
Is there a VM config in /etc/pve/qemu-server ?

You can add a temp disk to any other VM, then edit the vm config file in above path to change the disk name to the one you want.
You can also delete the temp disk directly using LVM cli, then rename the one you need to the proper name matching your temp VM.
It all depends on your end goal.

Measure twice before cuting/removing/renaming.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
No VM configuration file due to corruption of local disk data.
Then create a placeholder VM, add a new disk to it, dont start it.
Drop to shell, rename the "new disk" or delete it, rename the old disk to the new name. Enjoy your data.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: suzuneu
Actually, that can be quite interesting to know as well. What could be the step to do in console ? Is that we create a fake drive and then pve will mount it to a vm and boot an xubuntu live iso and get data ?
 

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!