vMotion fails with below error:
Migration failed after VM memory precopy. Please check vmkernel log for true error.
2025-11-05T09:45:56.226Z In(05) vmx - restoring NamespaceMgr
2025-11-05T09:45:56.226Z In(05) vmx - NamespaceMgrCheckpoint: No valid database found while restoring the namespace fields.
2025-11-05T09:45:56.226Z In(05) vmx - Progress 101% (none)
2025-11-05T09:45:56.227Z In(05) vmx - MigrateSetStateFinished: type=2 new state=MIGRATE_FROM_VMX_FINISHED
2025-11-05T09:45:56.227Z In(05) vmx - MigrateSetState: Transitioning from state MIGRATE_FROM_VMX_CHECKPT (11) to MIGRATE_FROM_VMX_FINISHED (12).
2025-11-05T09:45:56.227Z In(05) vmx - Migrate: Caching migration error message list:
2025-11-05T09:45:56.227Z In(05) vmx - [msg.checkpoint.migration.failedReceive] Failed to receive migration.
2025-11-05T09:45:56.227Z In(05) vmx - [msg.checkpoint.mrestoregroup.failed] An error occurred restoring the virtual machine state during migration.
2025-11-05T09:45:56.227Z In(05) vmx - Msg_Post: Error
2025-11-05T09:45:56.227Z In(05) vmx - [msg.checkpoint.mrestoregroup.failed] An error occurred restoring the virtual machine state during migration.
2025-11-05T09:45:56.227Z In(05) vmx - [msg.checkpoint.migration.failedReceive] Failed to receive migration.
2025-11-05T09:45:56.227Z In(05) vmx - ----------------------------------------
2025-11-05T09:45:56.228Z In(05) vmx - Module 'CheckpointLate' power on failed.
VMware vCenter Server 8.x
The vMotion failure is caused by corruption or invalid entries in the Namespace Manager database file (namespacemgr.db) associated with the VM.
To resolve the issue, follow the steps below:
cd /vmfs/volumes/<datastore>/<vm-folder>/vi <vm-name>.vmxmkdir testmv <vm-name>.db test/vim-cmd vmsvc/getallvms | grep -i <vm-name>vim-cmd vmsvc/reload <Vmid>Note: Ensure that you take snapshots before making any changes.