I have lost the disk where I had proxmox installed

mirasu

Member
Feb 10, 2021
5
0
6
47
Hello, I have lost the disk where I had proxmox installed. It's mvme and I can't get it back.
How could I recover the machines that I have on other hard drives? I installed proxmox on a normal HD, but I don't see anything, not even the drives.

Thank you
 
How did you stored those VM on the HDDs? LVM or ZFS?

Easiest option is to import the VMs from your backup storage. That way there are also your VM-Konfigs restored.

If you just import your old VM drives you get the VMs virtual HDDs but all VM configs are lost, because these were stored on the dead proxmox drive and you need to create new VMs with the old virtual HDDs.
 
Hola, gracias por contestar.

Creo recordar que tenía los discos como directorios. uno lo tenía con NFS para poder usarlo para datos en 2 máquinas. pero ahi no tenia MVs

¿Qué tipo de archivo debo buscar para importar la máquina completa?

¡Gracias!
 
The question is was it LVM or ZFS below your filesystem? A directory and NFS is only working ontop of an existing filesystem. So you first need to import a pool if it was ZFS or import a VG/LV if it was LVM.
 
Creo que no lo hice correctamente.
Empecé a hacerlo con LVM pero pensé que sería muy complicado en caso de falla del disco.

son discos montados en un directorio en / mnt con formato ext4 :-)
y agregado como directorios.
No tengo copias de las máquinas, solo de las imágenes.

¿Podría la única solución crear una nueva máquina y luego cambiar las imágenes del disco?

Sería útil una herramienta que busque en los discos imágenes de discos. restaurar. o que junto a la imagen del disco se copie la configuración de la máquina virtual.

¡Gracias!
 
Create backups next time. That way it is super uncomplicated to restore a VM/LXC.

If all your VM virtual HDDs are stored on a ext4 partition you need to mount that ext4 partition (/etc/fstab entry for example) and add that mountpoint as a storage for "Disk Image" and "Container" to Proxmox. Then you can create new VMs and select the old disk images so your VMs won't loose 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!