[pve-devel] Local Disk Migration and ide controller

Emmanuel Kasper e.kasper at proxmox.com
Mon Jul 10 09:39:53 CEST 2017


Hi Alexandre

When migrating local disks and ide I get the following error:

drive-ide0: transferred: 52428800 bytes remaining: 0 bytes total:
52428800 bytes progression: 100.00 % busy: 0 ready: 1
all mirroring jobs are ready
drive-ide0: Completing block job...
drive-ide0: Completed successfully.
drive-ide0 : finished
2017-07-10 09:10:52 # /usr/bin/ssh -o 'BatchMode=yes' -o
'HostKeyAlias=pve4' root at 192.168.16.75 pvesr set-state 401 \''{}'\'
2017-07-10 09:10:52 ERROR: VM 401 qmp command 'device_del' failed - Bus
'ide.0' does not support hotplugging
2017-07-10 09:10:52 ERROR: migration finished with problems (duration
00:00:19)
TASK ERROR: migration problems

I presume this comes from QemuMigrate.pm

# remove drives referencing the nbd server from source
# otherwise vm_stop might hang later on
foreach my $drive (keys %{$self->{target_drive}}){
		PVE::QemuServer::vm_mon_cmd_nocheck($vmid, "device_del", id => $drive);
}

What should we do with VMs on disks IDE bus ? I can prepare a patch to
catch this before the migration starts or do you see any better option ?

I would like to iron out these kind of errors before putting the Migrate
Local Disks option in the GUI.

Emmanuel






More information about the pve-devel mailing list