Solved

Invisible files in vsphere datastore

Posted on 2014-09-06
3
341 Views
Last Modified: 2014-09-13
vSphere 5.5 and BackupExec 2013 with vmware backup license

I regularly back up VMs from vsphere using backupexec and recently I tried a test restore.  I didn't want to touch any working VMs so I created a new folder and in the restore job changed the path to that folder.  The job ran and showed 90gb of data transfered.

Back on the esxi server, I saw the datastore freespace shrink by 90gb, but the folder I chose as the destination (and which was verified as the destination in the backupexec logs) was completely EMPTY.

I searched everywhere on the datastore but couldn't find the files restored from tape.  I also used veeam backup file tool, to search the datastore (besides the browse datastore in vsphere client).

Finally I deleted the target test-restore folder and it deleted immediately, but the free space on my datastore is still 90gb less than when I began.

How can I clean up these invisible files and where are they?

thanks.
0
Comment
Question by:gateguard
  • 2
3 Comments
 
LVL 120
ID: 40307653
The files must be somewhere on the datastore ?

Are you sure if did not restore to the original folder ?
0
 

Author Comment

by:gateguard
ID: 40307787
I'm not sure of anything other than backupexec said it restored 90gb of files to the path on the datastore I designated and the datastore has indeed 90gb less free space than before.

is there some kind of database store cleanup utility?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40307810
there is no database store cleanup utility.

But there is a script which can check for orphaned Virtual Machines. part of the

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/ - list orpahned virtualk disks, e.g. virtual disks, which are not associated with a VM.

Does Backup Exec Register VMs with the Inventory? Have you checked your Inventory - Discovered Virtual Machines, to see it's not registered a new VM ?

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI

http://powergui.org/index.jspa

and

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question