/var/run/log/hostd.log on the ESXi host contains errors similar to the following one:[7196 foundryVM.c:10177]: Error VIX_E_INVALID_ARG in VixVM_CancelOps(): One of the parameters was invalid 'vm:/vmfs/volumes/<datastore>/<vm_folder>/<vm_name>.vmx' opID=9BED9F06-000002BE-9d] Failed to unset VM medatadata: FileIO error: Could not find file : /vmfs/volumes/<datastore>/<folder>/<vm_name>.vmx-aux.xml.tmpvmkernel: 114:03:25:51.489 cpu0:4100)WARNING: FSR: 690: xxx S: Maximum switchover time (100 seconds) reached. Failing migration; VM should resume on source.
vmkernel: 114:03:25:51.489 cpu2:10561)WARNING: FSR: 3281: xxx D: The migration exceeded the maximum switchover time of 100 second(s). ESX has preemptively failed the migration to allow the VM to continue running on the source host.
vmkernel: 114:03:25:51.489 cpu2:10561)WARNING: Migrate: 296: xxx D: Failed: Maximum switchover time for migration exceeded(0xbad0109) @0x41800f61cee2[yyyy-mm-dd hh:mm:ss.nnn tttt error 'App'] [MIGRATE] (migrateidentifier) vMotion failed: vmodl.fault.SystemError
[yyyy-mm-dd hh:mm:ss.nnn tttt verbose 'App'] [VpxVmomi] Throw vmodl.fault.SystemError with:
(vmodl.fault.SystemError) {
dynamicType = <unset>,
reason = "Source detected that destination failed to resume.",
msg = "A general system error occurred: Source detected that destination failed to resume.Any Storage vMotion process requires time to open, close and process all of the virtual machines disks.
If the VM has a larger number of disks, the amount of time required for these can exceed the default timeout of 100 seconds, especially if there are other operations running on the datastore, such as provisioning, migration or power operations.
To work around this issue, the preconfigured timeout can be extended beyond the default value of 100 seconds.
This can be done by adding or updating the VM advanced option fsr.maxSwitchoverSeconds either via the vSphere Client or ESXi host client UI, or by manually updating the .vmx configuration file in the virtual machines folder on the datastore.
To update the option, make sure that the virtual machine is in a powered off state (if necessary, shut down the guest operating system first, power the VM off before attempting the change), then chose either of the following methods:
Follow the below steps to modify the fsr.maxSwitchoverSeconds option using the vCenter web Client or ESXi Host Client:
fsr.maxSwitchoverSeconds and under "Value" add a value higher than 100 (e.g. chose 200)To modify the fsr.maxSwitchoverSeconds option by editing the .vmx file manually follow the steps below:
# vi <vm_name>.vmxfsr.maxSwitchoverSeconds = "200"For more information, see Tips for editing a .vmx file.
Note: To edit a virtual machines configuration file, you need to power off the virtual machine, remove it from Inventory, make the changes to the vmx file, add the virtual machine back to inventory, and then power on the virtual machine again OR follow the article Reloading a vmx file without removing the virtual machine from inventory
During Storage vMotion, this issue can occur if the host is unable to copy the swap file activity of the virtual machine within a default time of 100 seconds from the source datastore to the destination datastore. It can also occur if the source datastore or the destination datastore are having any performance related issues because of heavy I/O activity.
For more information, see vMotion or Storage vMotion of a VM fails with the error: The migration has exceeded the maximum switchover time of 100 second(s).
See also Location of vCenter Server log files.