ESXi

 View Only
  • 1.  Cant delete vmdk files

    Posted Nov 18, 2013 08:07 AM

    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?



  • 2.  RE: Cant delete vmdk files

    Posted Nov 18, 2013 09:24 AM

    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



  • 3.  RE: Cant delete vmdk files

    Posted Nov 21, 2013 08:08 AM

    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 ?



  • 4.  RE: Cant delete vmdk files

    Posted Nov 21, 2013 08:29 AM

    Have you tried it via SSH using rm?



  • 5.  RE: Cant delete vmdk files

    Posted Nov 21, 2013 11:58 AM

    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 .