During VMware HCX OS Assisted Migration (OSAM) of Linux systems, significant delays may occur that make the migration appear to freeze or stall. This is an expected behavior when processing certain types of files.
The migration process appears to pause or freeze specifically during the densync operation phase, often when processing sparse files in the Linux system. Despite this apparent stall, the migration will eventually continue and complete successfully.
The densync process, which handles file replication during OSAM migrations, experiences expected delays when processing sparse files. This is not a defect in the HCX product but a fundamental characteristic of the underlying rsync technology.
--smart-inplace
option, which combines the traditional --sparse
and --inplace
options to properly handle sparse files.-zz
option), the combination of compression and sparse file handling remains inefficient.This behavior is the expected operation of the underlying rsync technology. There is currently no workaround to accelerate the process.
ls -lh /path/to/suspected/sparse/file # Shows the "virtual" size
du -sh /path/to/suspected/sparse/file # Shows the actual disk usage
A significant difference between these values indicates a sparse file that may cause migration delays.