Hi Cyprien,
Thanks, I did try that exact command (like: "vmkfstools -i //vmfs/volumes/MY_Data_STORE/Unify/Unify.vmdk /vmfs/volumes/MY_Data_STOREunifyController/Unify.vmdk -d thin") but it failed with this error: "Invalid argument (1441801)."
I thinks it has something to do with the .lck file that I'm not able to remove. Because the ESXi server crashed when the machine were on (I guess...) there is a VMname.vmx.lck file in the folder which won't let itself be deleted.
When I command "vmkfstools -D /vmfs/volumes/<My_DATA_STORE>/Unify/Unify.vmx" this is the output:
Lock [type 10c00001 offset 7643136 v 96, hb offset 3702784
gen 253, mode 1, owner 5f4e5638-df2877ea-b962-dca632d62882 mtime 4734
num 0 gblnum 0 gblgen 0 gblbrk 0]
Addr <4, 0, 21>, gen 25, links 1, type reg, flags 0, uid 0, gid 0, mode 100755
len 3496, nb 0 tbz 0, cow 0, newSinceEpoch 0, zla 4305, bs 65536
affinityFD <4,0,20>, parentFD <4,0,20>, tbzGranularityShift 20, numLFB 0
lastSFBClusterNum 0, numPreAllocBlocks 0, numPointerBlocks 0
And when I CD into the folder of the machine and command LS -LA, this is the output:
drwxr-xr-x 1 root root 77824 Sep 2 2020 .
drwxr-xr-t 1 root root 73728 Sep 1 2020 ..
-rw------- 1 root root 2147483648 Nov 14 2020 Unify-e8f544e3.vswp
-rw------- 1 root root 34359738368 Nov 14 2020 Unify-flat.vmdk
-rw------- 1 root root 270840 Nov 14 2020 Unify.nvram
-rw------- 1 root root 499 Sep 2 2020 Unify.vmdk
-rw-r--r-- 1 root root 0 Sep 1 15:28 Unify.vmsd
-rwxr-xr-x 1 root root 3496 Sep 2 2020 Unify.vmx
-rw------- 1 root root 0 Sep 2 2020 Unify.vmx.lck
-rw------- 1 root root 154 Sep 2 2020 Unify.vmxf
-rwxr-xr-x 1 root root 3391 Sep 2 2020 Unify.vmx~
-rw-r--r-- 1 root root 297383 Sep 1 2020 vmware-1.log
-rw-r--r-- 1 root root 175795 Sep 2 2020 vmware-2.log
-rw-r--r-- 1 root root 369772 Sep 2 2020 vmware-3.log
-rw-r--r-- 1 root root 11532535 Nov 14 2020 vmware.log
-rw------- 1 root root 90177536 Sep 2 2020 vmx-Unify-8854f0be9f7dbd34ba697eabc2cf489d41d4ac65-1.vswp
So the .vmdk file that I see in the web GUI while browsing the datastore, is still locked and the data is stored under Unify-flat.vmdk, but I tried every single suggestion of the forum but I still can't unlock it or do anything with the Unify-flat.vmdk file...