[PVE-User] Moving virtual machine from LVM to ZFS

Dmitry Petuhov mityapetuhov at gmail.com
Mon Aug 29 19:25:40 CEST 2016

You can do it manually.

On target node:
Create volume on target storage
pvesm alloc <storage> <vmid> <filename> <size>
Get path to new volume
pvesm path <volume>

On source node:
Get path to old volume
pvesm path <volume>
Do copy
qemu-img convert -p -n -t writeback -f raw -O raw <source-path> <destination-path>

See man pvesm and man qemu-img for details.

BTW, qemu-img always uses initiator name "iqn.2008-11.org.linux-kvm"

Or just backup on source and restore on target.

29.08.2016 19:52, Mikhail пишет:
> Hello,
> I'm in process of migrating bunch of virtual machines from old
> Proxmox-3.4 single node to a new Proxmox-4.2 machine. The old node runs
> virtual machines on local LVM storage (logical volume per virtual
> machine's disk), and the new node runs ZFS RAID10.
> I need to migrate all VMs from old node to new one. I couldn't find any
> hints how this can be done. Perhaps this could be done if both nodes
> were a part of a cluster ("move disk"), but obviously my scenario is
> where each hardware node is on it's own.
> I will appreciate any advice.
> Thanks!
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

More information about the pve-user mailing list