In VMware vSphere environments, virtual machines may experience intermittent hangs or prolonged stun states during snapshot creation, deletion, or consolidation initiated by Veeam backup jobs.
Reviewing /vmfs/volumes/<datastore_uuid>/<vm_name>/vmware.log reveals normal snapshot durations, but preceding a hung state, the log terminates after destroying the CBT mirror node. No further activity is logged until the VM is recovered:
YYYY-MM-DDTHH:MM:SS.Z In(05) vmx - SnapshotVMX_TakeSnapshot start: 'BACKUP TEMPORARY SNAPSHOT', deviceState=0, lazy=0, quiesced=0, forceNative=0, tryNative=1, saveAllocMaps=0
YYYY-MM-DDTHH:MM:SS.Z In(05) vmx - VVOLLIB : VVolLib_IsVectoredSnapSupported: vvolVectoredSnapEnabled: 1
YYYY-MM-DDTHH:MM:SS.Z In(05)+ vmx -
YYYY-MM-DDTHH:MM:SS.Z In(05) vmx - VVolObjNotifySnapshotPrepare: Changing state to VEC_SNAP_PREPARE_IN_PROG.
YYYY-MM-DDTHH:MM:SS.Z In(05) vmx - OBJLIB-VVOLOBJ :VVolObjNotifySnapshotPrepare: Building in-mem cache
YYYY-MM-DDTHH:MM:SS.Z Er(02) vmx - DISKLIB-LIB_CREATE : DiskLib_NotifySnapshotPrepare: FiltLib failed to notify snapshot prepare: Operation completes asynchronously
YYYY-MM-DDTHH:MM:SS.Z In(05) vmx - DISKLIB-CBT :ChangeTrackerESX_CreateMirror: Created mirror node <mirror_id>-cbtmirror.
YYYY-MM-DDTHH:MM:SS.Z In(05) vmx - SNAPSHOT: SnapshotPrepareTakeDoneCB: Prepare phase complete (The operation completed successfully).
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - Destroying virtual dev for scsi0:0 vscsi=<id>
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - VMMon_VSCSIStopVports: No such target on adapter
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - SnapshotVMXTakeSnapshotWork: Transition to mode 0.
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - Closing all the disks of the VM.
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - Closing disk 'scsi0:0'
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - DISKLIB-CBT : Shutting down change tracking for untracked fid <fid>.
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - DISKLIB-CBT : Successfully disconnected CBT node.
YYYY-MM-DDTHH:MM:SS.Z In(05) vcpu-0 - DISKLIB-CBT : ChangeTrackerESX_DestroyMirror: Destroyed mirror node <mirror_id>-cbtmirror. SrcFd: /vmfs/volumes/<datastore_uuid>/<vm_name>/<vm_name>-ctk.vmdk, DestFd:/vmfs/volumes/<datastore_uuid>/<vm_name>/<vm_name>-ctk-mirror.vmdk.
Reviewing ESXi host /var/run/log/hostd.log during repeated backup trigger attempts may show tasks queuing on the VM:
YYYY-MM-DDTHH:MM:SS.Z Er(163) Hostd[...] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/<datastore_uuid>/<vm_name>/<vm_name>.vmx] Invalid transition requested (VM_STATE_CREATE_SNAPSHOT -> VM_STATE_CREATE_SNAPSHOT): Tasks running
In severe instances, the virtual machine becomes completely unresponsive to guest I/O or management operations, requiring a hard power cycle or soft process kill to recover.
VMware vSphere ESXi 8.0
VMware vSphere ESXi 7.0
Veeam Backup & Replication (utilizing CDP/IoFilter components)
vmware.log indicates that stun events are often associated with timeouts during ChangeTrackerESX_DestroyMirror operations.When no underlying hypervisor bug is present, the behavior is frequently traced to the interaction between the VMware ESXi hypervisor and third-party I/O filters (e.g., Veeam CDP/IoFilter plugins).
The I/O filter may hold the VM's I/O stream, extending the VM stun duration beyond expected operating limits during snapshot consolidation.
Engage Backup Vendor: Since symptoms typically originate from the third-party I/O filter layer, engage Veeam Support to inspect the CDP/IoFilter plugin behavior and verify recommended configuration parameters.
Diagnostic Data Collection: If the issue recurs, capture the following diagnostic artifacts during the hung state before power cycling:
VMkernel zdump: Generate an ESXi VMkernel core dump manually to capture storage and scheduler states at the time of the hang. Refer: Generating a VMkernel zdump manually from a dump file in ESXi host
VM Suspend State: Suspend the affected virtual machine to capture a complete VM state file (.vmss) for memory and process inspection. Refer: Suspending a virtual machine on ESX/ESXi to collect diagnostic information
Engage Broadcom Support: Open a support case with Broadcom Support and attach the collected diagnostic files, vmware.log, and ESXi support bundles (vm-support).