Online migration problem

xress

New Member
Feb 2, 2011
8
0
1
Hi!

I have 2 proxmox servers, when I try online migration of virtual macine I get this message -

/usr/sbin/qmigrate --online IP-ADRESS
May 26 09:30:03 starting migration of VM 112 to host 'IP-ADRESS'
May 26 09:30:03 copying disk images
May 26 09:30:04 starting VM on remote host 'IP-ADRESS'
One or more specified logical volume(s) not found.
command '/sbin/lvchange -aly /dev/LVM_storage/vm-112-disk-1' failed with exit code 5
volume 'LVM_Storage:vm-112-disk-1' does not exist
May 26 09:30:05 online migrate failure - command '/usr/bin/ssh -c blowfish -o BatchMode=yes root@IP-ADRESS /usr/sbin/qm --skiplock start 112 --incoming tcp' failed with exit code 2
May 26 09:30:05 migration finished with problems (duration 00:00:02)
VM 112 migration failed -

When I try to migrate VM in offline mode - it migrates only VM information, virtual disk is not migrated, VM cannot start. If i migrate VM back it starts and works

Where is the problem?

Thanks for answers! :)
 
Last edited:
any details about 'LVM_Storage'?

is this storage accessible from all hosts?
 
you defined it, so I assume you should remember what you did - give all details.
 
I created LVM storage -
pvcreate /dev/sdb4
vgcreate LVM_storage /dev/sdb4,

added it in web interface-
Storage Name:LVM_Storage
Volume Group Name:LVM_storage
Enabled - yes
Shared - yes
Content - Virtual disks
 
by clicking "shared: yes" you confirm that its shared. It does not replicate it, seems that is a misunderstanding here.

you can mark "share" only for block devices which are accessible from all hosts. e.g. if you run DRBD, FC, IMS shared lun, etc.