HCX Bulk Migration stuck at "Offline sync started on source VM" due to insufficient target datastore space
search cancel

HCX Bulk Migration stuck at "Offline sync started on source VM" due to insufficient target datastore space

book

Article ID: 459587

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • During the migration switchover, the source VM is powered off, and the task 'Offline sync started on source VM' is stuck for hours.
  • The migration events can be found in the HCX Manager UI under 'Migration' tab, by expanding the virtual machine, you can view the events:



  • While the offline sync is ongoing, no progress is displayed in the HCX Manager UI, giving the impression that the migration is stuck.

  • VM replication status on source ESXi shows disks as inactive. 
    Refer >> Manual process to review the delta sync progress

    [root@esxi:~] vim-cmd hbrsvc/vmreplica.getState <vm-id>
    Retrieve VM running replication state:
            The VM is configured for replication. Current replication state: Group: VRID-19ada11c-####-####-8df20e81cb4e (generation=12571####76948)
            Group State: lwd delta (instanceId=b3dafa71-####-####-1c600c9efff6)
                    DiskID RDID-cbe1a3cd-####-####-32eb9358e328 State: inactive
                    DiskID RDID-2f6587e7-####-####-46690cdc8c64 State: inactive
                    DiskID RDID-027fcf01-####-####-f59028b8e393 State: inactive
                    DiskID RDID-74c4c18e-####-####-afda55893e87 State: inactive
                    DiskID RDID-1468c6d4-####-####-88eb958ad3ac State: inactive



  • Target HCX-IX logs [/var/log/vmware/hbrsrv.log] confirms consolidation had started.
    Once the delta sync is completed, a consolidation process will occur on the target datastore. This step can also be time-consuming, depending on the capabilities of the target datastore (e.g., whether it uses flash storage or not).

    2026-10-16T06:02:49.546Z info hbrsrv[29667] [Originator@6876 sub=Host groupID=VRID-19ada11c-####-####-8df20e81cb4e opID=hsl-435f0a53] Starting ConsolidateDisks task=haTask--vim.VirtualDiskManager.consolidateDisks-1673748255 for [child=[] /vmfs/volumes/####-####-0025b5920a01/<vm-name>/hbrdisk.RDID-1468c6d4-####-####-88eb958ad3ac.17.131057650562511.vmdk into parent=[] /vmfs/volumes/####-####-0025b5920a01/<vm-name>/<vm-name>_5.vmdk] with host=host-<host-id>


  • Looking further into target IX logs [/var/log/vmware/hbrsrv.log]  confirmed that the target datastore had insufficient space.

    2026-10-16T06:02:49.533Z info hbrsrv[03118] [Originator@6876 sub=StatsLog groupID=VRID-19ada11c-####-####-8df20e81cb4e opID=hsl-435f0a58] HbrEvent: {"eventID":"deltaSyncStart","groupID":"VRID-19ada11c-####-####-8df20e81cb4e","
    diskID":"RDID-1468c6d4-####-####-88eb958ad3ac","errorID":1,"serverID":"52cec4ff-####-####-19c474ff6674","hbrEvent":1}
    2026-10-16T06:02:49.533Z error hbrsrv[03118] [Originator@6876 sub=Main groupID=VRID-19ada11c-####-####-8df20e81cb4e opID=hsl-435f0a58] HbrError for (datastoreUUID: "<datastore-name>"), (hostIP: "<esxi-ip>"), (pathname: "<vm-name>/<vm-name>_5.vmdk") stack:
    2026-10-16T06:02:49.533Z error hbrsrv[03118] [Originator@6876 sub=Main groupID=VRID-19ada11c-####-####-8df20e81cb4e opID=hsl-435f0a58]    [0] Fault: (vim.fault.NoDiskSpace) {
    -->    faultCause = (vmodl.MethodFault) null,
    -->    faultMessage = <unset>,
    -->    file = "[<datastore-name>] <vm-name>/<vm-name>_5.vmdk",
    -->    datastore = "<datastore-name>"
    -->    msg = "Insufficient disk space on datastore '<datastore-name>'."
    --> }
    2026-10-16T06:02:49.533Z error hbrsrv[03118] [Originator@6876 sub=Main groupID=VRID-19ada11c-####-####-8df20e81cb4e opID=hsl-435f0a58]    [1] Code set to: Insufficient storage space.
    2026-10-16T06:02:49.533Z error hbrsrv[03118] [Originator@6876 sub=Main groupID=VRID-19ada11c-####-####-8df20e81cb4e opID=hsl-435f0a58]    [2] Failed to combine files ([] /vmfs/volumes/####-####-0025b5920a01/<vm-name>/hbrdisk.RDID-1468c6d4-####-####-88eb958ad3ac.17.131057650562511.vmdk:[] /vmfs/volumes/####-####-0025b5920a01/<vm-name>/<vm-name>_5.vmdk)

Environment

VMware HCX
VMware vCenter Server
VMware vSphere ESXi

Cause

This issue was caused by insufficient free space on the destination datastore. During the final offline sync phase, HCX must consolidate the virtual machine's disk snapshots at target datastore.
If the target datastore lacks the temporary overhead capacity required to perform this consolidation, the background vCenter task stalls, causing the HCX migration status to hang.

Resolution

To resolve this issue, increase the storage capacity of the target datastore to provide sufficient free space.
Once adequate capacity is available, the stalled disk consolidation task in vCenter will automatically resume and complete. The HCX migration will then progress to the "Power On initiated on target" phase.

Note: If the migration has completely timed out or failed due to the space limitation, you will need to clean up the failed migration group, expand the target datastore space, and trigger a new bulk migration.

How to monitor the consolidation process on the target datastore after delta sync is completed at source : 
Target IX logs [/var/log/vmware/hbrsrv.log]

2026-10-16T06:24:16.516Z info hbrsrv[03356] [Originator@6876 sub=StatsLog] HbrEvent: {"eventID":"consolidateProgress","groupID":"VRID-####-####-8df20e81cb4e","diskID":"RDID-####-####-88eb958ad3ac","percentCompleted":86,"ETA":"2026-10-16T06:30:34.516629Z","serverID":"####-####-19c474ff6674","hbrEvent":1}
2026-10-16T06:25:16.539Z info hbrsrv[03356] [Originator@6876 sub=StatsLog] HbrEvent: {"eventID":"consolidateProgress","groupID":"VRID-####-####-8df20e81cb4e","diskID":"RDID-####-####-88eb958ad3ac","percentCompleted":88,"ETA":"2026-10-16T06:31:28.539408Z","serverID":"####-####-19c474ff6674","hbrEvent":1}

2026-10-16T06:24:40.672Z info hbrsrv[03356] [Originator@6876 sub=StatsLog] HbrEvent: {"eventID":"consolidateProgress","groupID":"VRID-####-####-8df20e81cb4e","diskID":"RDID-####-####-46690cdc8c64","percentCompleted":41,"ETA":"2026-10-16T06:37:27.67241Z","serverID":"####-####-19c474ff6674","hbrEvent":1}
2026-10-16T06:25:40.684Z info hbrsrv[03356] [Originator@6876 sub=StatsLog] HbrEvent: {"eventID":"consolidateProgress","groupID":"VRID-####-####-8df20e81cb4e","diskID":"RDID-####-####-46690cdc8c64","percentCompleted":46,"ETA":"2026-10-16T06:37:22.684768Z","serverID":"####-####-19c474ff6674","hbrEvent":1}
2026-10-16T06:26:40.697Z info hbrsrv[03356] [Originator@6876 sub=StatsLog] HbrEvent: {"eventID":"consolidateProgress","groupID":"VRID-####-####-8df20e81cb4e","diskID":"RDID-####-####-46690cdc8c64","percentCompleted":73,"ETA":"2026-10-16T06:28:01.6974Z","serverID":"####-####-19c474ff6674","hbrEvent":1}

Additional Information