trouble with migration VMs

anton.chasnyk

New Member
Jul 12, 2016
15
0
1
35
I have a cluster with LVM (not thin) shared storage, and I try to migrate VM from one node to another. I got this log:
Code:
Jul 12 03:54:55 starting migration of VM 101 to node 'europa' (192.168.88.50)
Jul 12 03:54:55 copying disk images
Jul 12 03:54:56 migration finished successfully (duration 00:00:02)
TASK OK

But disk image was not copied and I cant start VM.
Code:
TASK ERROR: can't activate LV '/dev/pve/vm-101-disk-1':   Failed to find logical volume "pve/vm-101-disk-1"
 
shared storage means that the storage is available on all the nodes with exactly the same content - therefore no copying is necessary on migration. setting the "shared" flag does not make a storage shared, it tells proxmox that the storage IS shared. for example, NFS shares or iSCSI storages that are accessible from all the nodes are shared, ceph and other distributed storages are usually shared, but ZFS or local LVM VGs are not shared.
 
offline migration works with all storages, but there are some limitations (e.g. regarding snapshots and linked clones, which might block a migration in some scenarios).
 
I am tested it several minuts ago. I am try to migrate VM from one node to another (I un marked LVM storage as shared) and migration was faild with message "lvm storage not support".
Code:
Jul 12 06:51:02 starting migration of VM 100 to node 'europa' (192.168.88.50)
Jul 12 06:51:02 copying disk images
Jul 12 06:51:02 ERROR: Failed to sync data - can't migrate 'VMs:vm-100-disk-1' - storage type 'lvm' not supported
Jul 12 06:51:02 aborting phase 1 - cleanup resources
Jul 12 06:51:02 ERROR: migration aborted (duration 00:00:00): Failed to sync data - can't migrate 'VMs:vm-100-disk-1' - storage type 'lvm' not supported
TASK ERROR: migration aborted
What I am doing wrong? Can You give me some link to HowTo or documentation about it?
I have configured 6 nodes with local storage (LVM (not-thin)) and all nodes connected to cluster and I am want have possibility to offline migration VM between nodes.
 
Last edited:
you are not running a current version - upgrade your systems, then it will work.
 
migration is working after update but speed limited at the 21 MB/s. I am use 1 GbE.

Code:
(2.1 GB) copied, 130.18 s, 16.5 MB/s
(3.2 GB) copied, 158.118 s, 20.4 MB/s
(5.4 GB) copied, 311.664 s, 17.2 MB/s
(11 GB) copied, 358.037 s, 30.0 MB/s
(21 GB) copied, 1004.75 s, 21.4 MB/s

I have not idea - it is proxmox or network
 
I was test network using big files up to 4GB and copied this files through scp. I got speed value around 110 MB/s closely to HDD write speed.

Does anyone have any ideas?
 

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!