Solved

Invisible files in vsphere datastore

Posted on 2014-09-06
3
329 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 117
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 117

Accepted Solution

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now