Locate and Mount local-lvm VM disk to another VM

0buntu

New Member
Oct 2, 2021
8
0
1
31
Hello,
My problem here is, I upgraded Proxmox, somehow it jumped from 7.0.-2 to 7.0.-11. removing all my virtual machines. but luckily I see that the machine disks still exist. so I created same machines with same name and ID, now to locate the machine disk and attach it to the machine is the problem.
as in the picture below, I want to attach disk "vm-104-disk-0" TO 104 (UJJU).
Problem_proxmox.png

2Problem_proxmox.png
 
Code:
root@simulation2:~# qm rescan --vmid 104
rescan volumes...
VM 104 add unreferenced volume 'local-lvm:vm-104-disk-0' as 'unused0' to config
root@simulation2:~#

1633199354269.png
after scan, the disk appeared.
I double clicked on it and added it.

Thank you for the support
 
Last edited: