[SOLVED] orpaned img files

Curt Hall

Well-Known Member
Jan 30, 2019
126
5
58
54
I have 2 proxmox nodes that can not longer connect to iscsi target to spin up their respective VM's. Until i find out how to correct the iscsi issue, which may be on the SAN manufacturer, is there a way to have my other 3 proxmox boxes (who still do have connection to same SAN) spin up those orpaned VM's somehow? I tried a migrate but the host node needs access to SAN for a migrate to function. Is there a way to create a new VM and assign its virtual HDD to an orphaned img file? any other ideas?
 
Last edited:
hi,

Is there a way to create a new VM and assign its virtual HDD to an orphaned img file? any other ideas?
sure. you can see the files in /etc/pve/qemu-server/VMID.conf to see the configurations of VMs.

you can then create a new empty VM and just copy the configuration file contents to the new configuration file and change what is necessary (i.e. keep the disk path the same but change other instances of the old VMID)
 
hi,


sure. you can see the files in /etc/pve/qemu-server/VMID.conf to see the configurations of VMs.

you can then create a new empty VM and just copy the configuration file contents to the new configuration file and change what is necessary (i.e. keep the disk path the same but change other instances of the old VMID)

I'm not srong with editing Linux files in the shell, is there a way to access that location from a Windows based machine so I can edit the files from a GUID? Like a network share to each node's "etc" folder?
 
i think on windows the most straightforward way is to use winSCP. log in with your SSH credentials, copy the file you want to edit to your machine, edit it locally and replace it on the target.
 
i think on windows the most straightforward way is to use winSCP. log in with your SSH credentials, copy the file you want to edit to your machine, edit it locally and replace it on the target.

ah, I forgot about winscp, that worked perfectly, thanks! I got all of them running on the other 3 nodes, now to just get SAN tech support to do their magic.
 
great! you can mark the thread as [SOLVED] so others know what to expect :)
 
top right you will see three dots, press 'Edit thread' and set prefix as [SOLVED]
 

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!