Online migration problem

w4rh0und

Member
Oct 28, 2009
17
1
23
Hello
I am pretty new to proxmox and i have a few problems:

I have configured a directory (shared) from an online share on which to store the virtual images so i can migrate from 1 VPS to another via online migration.

When i have created a new virtual machine i was able to select that directory and when i tried online migration it worked from vps 3 to vps 4, but when i imported an image from a different server with qmrestore it automatically placed it on to local. And when i tried to make an online migration i got:

/usr/bin/ssh -t -t -n -o BatchMode=yes 192.168.3.102 /usr/sbin/qmigrate --online 192.168.3.101 101
Oct 28 12:08:22 starting migration of VM 101 to host '192.168.3.101'
Oct 28 12:08:22 copying disk images
Oct 28 12:08:22 Failed to sync data - can't do online migration - VM uses local disks

how can i place all the images on a shared directory so i can make online migration inside the cluster when needed?
 
I think also a question is: where can i configure where the restored images to get stored by default since i don't want them to be stored in /var/lib/vz/images
 
Hello
I am pretty new to proxmox and i have a few problems:

I have configured a directory (shared) from an online share on which to store the virtual images so i can migrate from 1 VPS to another via online migration.

When i have created a new virtual machine i was able to select that directory and when i tried online migration it worked from vps 3 to vps 4, but when i imported an image from a different server with qmrestore it automatically placed it on to local. And when i tried to make an online migration i got:

/usr/bin/ssh -t -t -n -o BatchMode=yes 192.168.3.102 /usr/sbin/qmigrate --online 192.168.3.101 101
Oct 28 12:08:22 starting migration of VM 101 to host '192.168.3.101'
Oct 28 12:08:22 copying disk images
Oct 28 12:08:22 Failed to sync data - can't do online migration - VM uses local disks

how can i place all the images on a shared directory so i can make online migration inside the cluster when needed?

just define the storage target with qmrestore:

--storage <STORAGE_ID>

for all details, see 'man qmrestore'