lsof | grep /vmfs/volumes/datastore_uuid on the ESXi host displays open log files under the datastore.VMware vSphere ESXi 8.x
The ESXi host cannot unmount the datastore due to active file handles. Common causes include:
Syslog.global.logDir is configured to point to the datastore..iormstats.sf files open.Follow these steps to identify and release the file handles:
Syslog.global.logDir. If it points to the affected NFS datastore, change it to point to an alternate, active datastore.lsof | grep /vmfs/volumes/[Datastore_Name]clusterAgent, hostd) is identified, investigate or restart that service if safe to do so.