VMware Cloud Community
IvenUA
Contributor
Contributor

Cant delete vmdk files

Cant delete vmdk files

such error

Delete file Error caused by file /vmfs/volumes/520e- 22e0-4791a28e-290e- 001cc091f236/SERV- ER1_replica root

how i can to delete such files?

0 Kudos
4 Replies
admin
Immortal
Immortal

I think ESXi lock on that files causing the problem. Sometimes restarting the hostd process releases the lock, or vMotion the VM to another ESXi host and try delete. It may work.
Else try to find the lock as mentioned in the KB article given and remove the lock, then you can delete the vmdk fies. But if you have the VM in the inventory, power it off and "delete from disk" option deletes all the files.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10051

~dGeorgey

0 Kudos
IvenUA
Contributor
Contributor

no one virtula machine use this vmd files

i can change name of folder with files, can cut and paste in other place

but i cant delete files

after restart esxi with turn off all virtual machine - same error

so anu idea how i can delete fucking files with size 150 gb ?

0 Kudos
tomtom901
Commander
Commander

Have you tried it via SSH using rm?

0 Kudos
dhanarajramesh

might be locked by your host and you might see this lock file on the same data store as .lock. please remove .lck and try again to remove .

0 Kudos