VMware Cloud Community
mjcb
Contributor
Contributor
Jump to solution

Deleting Vm from VI does not remove all data from DataStore

Hello,

When I delete a VM, I assumed before that it removed all the files and the folder structure on the datastore. I find that this isn't true. In most cases there is at least the folder still left behind, as well as some times there are files left behind as well. Any reason for this?

I don't really like the fact that I manually have to clean this up as sometimes manual processes are missed.

0 Kudos
1 Solution

Accepted Solutions
pdrace
Hot Shot
Hot Shot
Jump to solution

Have you checked for hidden files in the directory that's left behind?

Vranger (vizioncore) leaves a hidden file called .vzmutex behind when it performs a back up. You have to remove it from the command line.

View solution in original post

0 Kudos
3 Replies
pdrace
Hot Shot
Hot Shot
Jump to solution

Have you checked for hidden files in the directory that's left behind?

Vranger (vizioncore) leaves a hidden file called .vzmutex behind when it performs a back up. You have to remove it from the command line.

0 Kudos
mjcb
Contributor
Contributor
Jump to solution

That's it. Thanks. So, my only option is to delete the folder through Putty on the host.

0 Kudos
pdrace
Hot Shot
Hot Shot
Jump to solution

I believe so unless a change is made to the Datastore browser functionality.

Be careful though. I ran into a bug where deleting a temporary file in the Datastore browser deleted the related vmdk file!

It was a Vizioncore file with a vzsnp extension. vmname.vmdk,vzsnp

0 Kudos