[root@ESXiHost :~ ] esxcli storage filesystem unmount --volume-uuid=664c717f-########-####-########e5dcVolume '664c717f-########-####-########e5dc' cannot be unmounted. Reason: Busy
VMware ESXi 7.x
VMware ESXi 8.x
Upon reviewing the open processes related to the Datastore, it was found that the FDM (Fault Domain Manager) process was holding the lock.
[root@ESXiHost :~ ] lsof | grep -i 664c717f-########-####-########e5dc
21###27 fdm FILE 22 /vmfs/volumes/664c717f-########-####-########e5dc/.vSphere-HA/FDM-a2e42bae-####-####-####-########7eb8-14-db82386-FDC######VIP01/host-##-hb
The .vSphere-HA directory is a hidden folder used for storing information related to VMware High Availability (HA) management. The file host-##-hb represents a heartbeat file associated with the HA process (fdm) for a specific host.
The interaction of the fdm process with this heartbeat file prevents the Datastore from being unmounted, as the file remains in use.
[root@ESXiHost :~ ] esxcli storage filesystem unmount --volume-uuid=664c717f-########-####-########e5dc
Notes: