I need to move the disks (on several Proxmox 3.4 hypervisors) of around 90 VMs (not containers) from local /var/lib/vz/ to a mounted iSCSI volume (/mnt/remote). I'd like to just setup a shell script as I need to move them back to /var/lib/vz after upgrading the hypervisor. Is there a command line utility to do this? Wondering if pvectl can be used for this somehow?
pvectl migrate <vmid> <target> [OPTIONS]
I can accomplish the same thing by using "Move Disk" menu under hardware, but it is cumbersome for more than a few machines. Thanks.
pvectl migrate <vmid> <target> [OPTIONS]
I can accomplish the same thing by using "Move Disk" menu under hardware, but it is cumbersome for more than a few machines. Thanks.