?
Solved

Invisible files in vsphere datastore

Posted on 2014-09-06
3
Medium Priority
?
351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 122
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 122

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

777 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