Moving disk image from one KVM machine to another

Frigg

Active Member
Sep 4, 2016
63
2
28
52
Hello,
I'm mooving disk image from one KVM machine to another, following this wiki https://pve.proxmox.com/wiki/Moving_disk_image_from_one_KVM_machine_to_another
I'm stuck in step 4:
"Now figure out a free storage slot on VM 2300 (by reading ide/scsi/virtio/sata keys of the config and finding an unused number - beware of the limits on each of them, which you can find in the vm.conf(5) manpage or by simply testing it out in the GUI)."

I am not comfortable with Linux, and don't understand how concretely I can find a free storage slot on the new VM. If someone could give me the total path for reading ide/scsi/virtio/sata keys of the config, it would help me.

Thanks a lot
 
If you are running recent PVE, then you can just use "move" option in GUI, or command line as described here:
https://pve.proxmox.com/pve-docs/pv...l_machines_with_span_class_monospaced_qm_span

Code:
Reassign a disk image to a different VM. This will remove the disk scsi1 from the source VM and attaches it as scsi3 to the target VM. In the background the disk image is being renamed so that the name matches the new owner.

# qm move-disk 300 scsi1 --target-vmid 400 --target-disk scsi3



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!