ESXi

 View Only
  • 1.  deleting vm leaves folder with tmp file behind

    Posted Jul 17, 2011 09:16 PM

    when i delete a vm from disk, it leaves behind a folder with a tmp file behind. why is that?



  • 2.  RE: deleting vm leaves folder with tmp file behind

    Posted Jul 17, 2011 09:25 PM

    I've never seen anything like this, except for files which were created manually. What's the name of the file? Could the size be associated with anything? Please attach a screenshot of the datastore browser window.

    André



  • 3.  RE: deleting vm leaves folder with tmp file behind

    Posted Jul 17, 2011 11:29 PM

    here it is



  • 4.  RE: deleting vm leaves folder with tmp file behind

    Posted Jul 17, 2011 11:55 PM

    Is it possible the file is related to some of your past scripting efforts.



  • 5.  RE: deleting vm leaves folder with tmp file behind

    Posted Jul 18, 2011 04:37 AM

    You can can delete the files.

    I've got similar files from a 3.x to 4.x migration and some manually cloning procedures.

    Andre



  • 6.  RE: deleting vm leaves folder with tmp file behind

    Posted Oct 28, 2011 03:49 PM

    I have had a similar problem. In my environment the reason for this behaviour was Windows and Unix admins deleting VM's. I have created custom roles for Windows and Unix admins and had to set this privilege (Datastore -> Low level file operations)  for the role otherwise it would create this tmp file when deleting a VM. It is not a problem when using a user with Administrator privileges.

    I don't know if this is the solution for your problem?



  • 7.  RE: deleting vm leaves folder with tmp file behind

    Posted Mar 07, 2012 01:14 AM

    We had a lot of vms being deployed from template & then being deleted, BUT there were many folders that were empty except for the imcXXXX.tmp so I decided to investigate.

    The file imcXXXX.tmp exists after cloning/deploying vm from template and choosing to customize it.

    The temp file is created, then after the vm is powered on the file is run inside the vm, customizing it, and the .tmp file in the home folder is removed automatically.

    If you never power on the vm but then delete it from disk, that file will still remain in the folder. You have to delete it manually afterwards.

    A bit more about cutomization can be found here:

    http://communities.vmware.com/thread/299305



  • 8.  RE: deleting vm leaves folder with tmp file behind

    Posted Mar 01, 2013 12:14 AM

    Thanks Dan. You are correct.