Attempting to forcefully remove a replication fails with the following error:
Replication task appears stuck or unresponsive.
Disk consolidation status shows as in-progress but not advancing (e.g., 0% done).
--
Alternate scenario:
VR synchronization failed for VRM group <Group_Name>. A general system error occurred: Failed to open virtual disk.hbr-persistent-state.psf or .vmdk file.VMware Live Site Recovery Manager 8.x
VMware Live Site Recovery Manager 9.x
The replication removal operation fails due to a file lock on the VM disk (*.sesparse.vmdk) held in exclusive mode by an ESXi host. This prevents cleanup and consolidation from completing.
The disk was locked in exclusive mode by an ESXi host, preventing replication cleanup and VM folder deletion.
Lock was confirmed through VMFS heartbeat and MAC address identification.
[root@xx:/vmfs/volumes/xxxx/VM] vmfsfilelockinfo -p hbrdisk.RDID-xxxx-sesparse.vmdkvmfsfilelockinfo Version 2.0Looking for lock owners on "hbrdisk.RDID-xxxx-sesparse.vmdk""hbrdisk.RDID-xxxx-sesparse.vmdk" is locked in Exclusive mode by host having mac address ['xx:xx:xx:xx:xx:xx']Trying to use information from VMFS Heartbeat
Host owning the lock on file is x.x.x.x, lockMode : ExclusiveTotal time taken : 4.900337650906295 seconds.
--
A stale management lock on the vSphere Replication persistent state file (.psf) or virtual disk file (.vmdk) prevents the VR appliance from mounting the disk for synchronization. This often happens if a previous task was interrupted or if the VR appliance management service becomes unresponsive.
1. Reboot the ESXi host that owns the file lock to release the lock.
2. After the reboot:
--
Alternate solution:
vmfsfilelockinfo -p /vmfs/volumes/<datastore>/<vm_folder>/<disk_name>.vmdk.
For identifying and resolving VM file locks on ESXi hosts, refer to the KB : Investigating Virtual Machine file locks on ESXi Host(s)