Thanks for the link. I ran both commands:
[root@esxi1:/var/log] vmfsfilelockinfo -p /vmfs/volumes/RAID10_SM863/NSX-Manager/NSX-Manager-flat.vmdk
vmfsfilelockinfo Version 2.0
Looking for lock owners on "NSX-Manager-flat.vmdk"
"NSX-Manager-flat.vmdk" is locked in Exclusive mode by host having mac address ['0c:c4:7a:c5:59:70']
Trying to use information from VMFS Heartbeat
Host owning the lock on file is 192.168.30.8, lockMode : Exclusive
Total time taken : 4.2072997899958864 seconds.
[root@esxi1:/var/log] vmkfstools -D /vmfs/volumes/RAID10_SM863/NSX-Manager/NSX-Manager-flat.vmdk
Lock [type 10c00001 offset 142090240 v 17, hb offset 3702784
gen 43, mode 1, owner 59fe47e7-5d8de2e2-2f7d-0cc47ac55970 mtime 388852
num 0 gblnum 0 gblgen 0 gblbrk 0]
Addr <4, 51, 1>, gen 2, links 1, type reg, flags 0x9, uid 0, gid 0, mode 600
len 64424509440, nb 14554 tbz 0, cow 0, newSinceEpoch 14554, zla 3, bs 1048576
I knew it was host 192.168.30.8 and have rebooted this host a couple of times already and the lock remains so there are a few VMs and their folders that I cannot delete.
So after running the above commands what else can I do to force delete the VMs and their folders on the datastore?
On host 192.168.30.8 I have these entries in the vmkernel.log:
2017-11-09T08:40:52.124Z cpu10:67892)FS3J: 3993: Replaying journal at <type 6 addr 15>, gen 43
2017-11-09T08:40:52.131Z cpu10:67892)WARNING: HBX: 5365: Replay of journal <type 6 addr 15> on vol 'RAID10_SM863' failed: Lost previously held disk lock