VMware

Datastore Finished Maintenance Mode, Files Still Left On Datastore?

I successfully completed putting a datastore into maintenance mode – all VMs (9 in total) have been moved off of the datastore. I shut down the datastore for several days and all VMs continued to run with no issues. When I brought the datastore back up (still in maintenance mode) and browse to it, there are still several folders with files within them. Most of them are empty except for random png files which I read a “screenshots”? There are two folders with a single vmdk file that are several years old which don’t seem to belong to any VM (I compared VM locations to the folders with the vmdk, and they don’t match).

Here’s my question. Can I just go through and delete these folders? Can I format the datastore in vSphere or do I have to go to the datastore itself and format the volume?

I don’t think I want to touch the **.vsphere-ha** or the **.naa.6589….** or the **.sdd.sf** folders. Or do I?

I am super confident that none of the files belong to any of the VMs that I have running since the VMs ran with no issues for several days while the datastore was down.



View Reddit by PoniardBladeView Source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

2 Comments

  1. I find files left over on my datastores all the times. What I do, is right-click on the datastore and pick “unmount”. VMware won’t let you unmount the datastore if its in use by something. If it fully unmounts, then you can right-click on it and say delete. Then if you want you can re-create a new datastore on the LUN or you can delete the LUN at the SAN level.

  2. the folders you mentions don’t belong to VMs, they are part of vSphere HA and VFMS metadata etc. So don’t worry about those at all. The screenshots are taken when VM Monitoring was enabled at some point a reset of the VM has been done by HA. Also not something to worry about if they are old screenshots. ([http://www.yellow-bricks.com/2011/07/20/testing-vm-monitoring-on-vsphere-5-0/](http://www.yellow-bricks.com/2011/07/20/testing-vm-monitoring-on-vsphere-5-0/)) Or the screenshots can be from vCloud Director if you are running that, or even created through the API ([https://blogs.vmware.com/vsphere/2013/01/capturing-virtual-machine-screenshots-in-vsphere.html](https://blogs.vmware.com/vsphere/2013/01/capturing-virtual-machine-screenshots-in-vsphere.html))

Leave a Reply