Solved

Invisible files in vsphere datastore

Posted on 2014-09-06
3
336 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 119
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 119

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migrate VMs to AWS EC2 17 53
vCenter 6.5 install woes 2 77
LINUX backups with VEEAM 8 84
Upload VMware and vhds to Microsoft Azure General Question 2 64
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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 convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

831 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