Error: The resource 'Datastore Name: Test-Datastore123 VMFS uuid: xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx' in use.Cannot remove datastore 'Datastore Name: Test-Datastore123 VMFS uuid:xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx' because "file system is busy". Correct the problem and retry the operation.[root@Test221:/var/log] voma -m vmfs -f check -d /dev/disks/eui.xxxxxxxxxxxxxx:1
Running VMFS Checker version 2.1 in check mode
Initializing LVM metadata, Basic Checks will be done
Checking for filesystem activity
Performing filesystem liveness check..|Scanning for VMFS-6 host activity (4096 bytes/HB, 1024 HBs).
Found 1 actively heartbeating hosts on device '/dev/disks/eui.xxxxxxxxxxxxxx:1'
1): MAC address xx:xx:xx:xx:xx:xx, IP 10.x.x.121
VOMA failed to check device : Device or Resource busy
[root@Test221:/var/log]
VMware vSphere ESXi 8.x
VMware vSphere ESXi 7.x
Datastore deletion was not working since there is still 1 actively heartbeating host for the problematic datastore.
If the host is reachable and accessible via vSphere Web client or Host UI, then refer to the below Broadcom Tech docs to unmount the data store via vSphere web client or host UI.
Refer :
If the unmount option is not feasible, then we need to reboot the impacted host to release the lock on the problematic datastore. Once the lock is released, then the datastore deletion task should work without any issues.
Note: Before rebooting any Host, please make sure you have a good backup of the VM's running on that node, and if possible, please make sure you gracefully shut down the VM and then proceed with the host reboot.
Also, refer to Error: "Device or Resource Busy" while attempting to delete a Datastore'.