Solved

Invisible files in vsphere datastore

Posted on 2014-09-06
3
346 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 121
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 121

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
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:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

728 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