VM migrate error (owned by other)

Cr3w

New Member
Nov 3, 2022
4
0
1
When online migration, a error message is displayed

Code:
2022-11-03 14:52:39 starting migration of VM 210 to node 'pve-3'
2022-11-03 14:52:39 found local disk 'local-lvm:vm-110-disk-0' (in current VM config)
2022-11-03 14:52:39 can't migrate local disk 'local-lvm:vm-110-disk-0': owned by other VM (owner = VM 110)

How can fix this?
 
Is the data on the disk needed? If it is - probably best to clean it up and be done with it.
At high level:
- unmount the disk in VM
- detach the disk from the VM via pve
- rename the disk to contain the correct VMID and increase the disk ID value
- qm rescan --vmid 210
- attach the unused disk back

if its not needed - just delete it.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Is the data on the disk needed? If it is - probably best to clean it up and be done with it.
At high level:
- unmount the disk in VM
- detach the disk from the VM via pve
- rename the disk to contain the correct VMID and increase the disk ID value
- qm rescan --vmid 210
- attach the unused disk back
Ok, I'll try. Thanks.
 
Solved.
I moved disk to another storage with qcow2 format, owner changed automatically.