Storage vMotion operation fails with the error: A general system error occurred: Migrate: Received request to migrate TO when already migrating 'to' (2)
book
Article ID: 309230
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms:
The Storage vMotion operation fails
The following error is reported in vCenter/vSphere client:
A general system error occurred: Migrate: Received request to migrate TO when already migrating 'to' (2).
This issue may occur if a power-outage or a vCenter Server outage happened during a previous Storage vMotion operation. There may be a hidden Storage vMotion process running on the ESX host that prevents the new Storage vMotion task on the same virtual machine.
Resolution
To resolve this issue:
The process locking the files may be one of the ESX/ESXi host management agents. Restarting them on the host running the virtual machine may resolve the issue.
Verify if there are any files that were cloned before the outage. Browse the destination datastore and see if any files from the virtual machine have been populated.
Verify that the currently running virtual machine is associating it's VMDK and VMX file(s) to the original datastore.
Right-click the virtual machine and click Edit Settings.
Click each hard disk and view the path of the VMDK file.
Click the Options tab and verify that the VMX file is located in the source datastore.
If your files are located on the source datastore, proceed to the next step.
In the console of the ESX/ESXi host, check if there are multiple processes running for the virtual machine by searching the list of running processes using this command:
In ESX: # ps -auxwww | grep -i vm_name.vmx
In ESXi:
# ps -c | grep -i vm_name.vmx
If there are multiple processes running, you see an output similar to: