VM live migration issue

jjc27017

Member
Dec 14, 2017
40
0
6
37
Hi All,
I want to migrate some vms from one node to another, but I used to click button via gui so it is done.
But today I found some error after I click the button


Task viewer: VM 102 - 迁移

输出状态

停止
2018-01-04 14:48:37 starting migration of VM 102 to node 'proxmox39' (192.168.0.39)
2018-01-04 14:48:37 found local disk 'local-zfs:vm-102-disk-1' (in current VM config)
2018-01-04 14:48:37 can't migrate local disk 'local-zfs:vm-102-disk-1': can't live migrate attached local disks without with-local-disks option
2018-01-04 14:48:37 ERROR: Failed to sync data - can't migrate VM - check log
2018-01-04 14:48:37 aborting phase 1 - cleanup resources
2018-01-04 14:48:37 ERROR: migration aborted (duration 00:00:01): Failed to sync data - can't migrate VM - check log
TASK ERROR: migration aborted


And I go to command line and type 'qm migrate 100 proxmox39 --online --with-local-disks' and it work again in the background. How can I use gui to migrate vms?
 
If there any advises to migrate vms quickly from one node to another?
If the vm space is large, the migrate time is too long....
 
If there any advises to migrate vms quickly from one node to another?
If the vm space is large, the migrate time is too long....
You have two alternatives:
- use shared storage
- use ZFS in both nodes and use replication
 
You have two alternatives:
- use shared storage
- use ZFS in both nodes and use replication

I am using the second option, and I check with google, it seems that if replication node is the same as migration node, then the migration will fail.
 
2018-01-04 21:58:45 migration xbzrle cachesize: 134217728 transferred 0 pages 0 cachemiss 0 overflow 0
2018-01-04 21:58:46 migration status: active (transferred 2053836344, remaining 847872), total 2165121024)
2018-01-04 21:58:46 migration xbzrle cachesize: 134217728 transferred 0 pages 0 cachemiss 2086 overflow 0
2018-01-04 21:58:46 migration status error: failed
2018-01-04 21:58:46 ERROR: online migrate failure - aborting
2018-01-04 21:58:46 aborting phase 2 - cleanup resources
2018-01-04 21:58:46 migrate_cancel
drive-scsi0: Cancelling block job
drive-scsi0: Done.
2018-01-04 21:59:00 ERROR: migration finished with problems (duration 00:53:08)
TASK ERROR: migration problems


I migrate one vm from one node to another via zfs file system, but it fail in last step, how can I suppose to do?