Solved

Scan for snapshots on ESX 3.5.4

Posted on 2011-03-22
3
685 Views
Last Modified: 2012-06-27
I have around 60 ESX host's sprawled across multiple sites. Controlled by 2 VCs

Each ESX storage uses a number of LUNS.

My issue is I want to scan all storage specifically for snapshots saved on Storage to see if there is any we can identify old snapshots to remove these as a matter of storage housekeeping.

My question is, is there any funky scripts etc, that I am able to run which will ideally look for, and output snapshot files saved on the various LUN's to a xls file or something?

It would save me masses amount of time as I really want to avoid trawling through each LUN Datastore
0
Comment
Question by:ImWorkingOnIt
3 Comments
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 250 total points
ID: 35192789
Came across this Communities article:
http://communities.vmware.com/thread/173015?start=0&tstart=0

This EE post from end of last yr has potentially some useful info from fellow EE expert "BestWay" that may help:
http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_26477663.html?sfQueryTermInfo=1+10+30+find+script+snapshot

Regards,
~coolsport00
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 250 total points
ID: 35192883
1.  Download PowerCLI from VMWare and install
2.  Download PowerGui from Powergui.org and install
3.  Install the VMWare plugin as part of the powergui install

It's all free, and has snapshot report, connected CDROMs.  It will also provide visio diagrams of your environment if you have visio on your system as well as many more reporting features.
0
 
LVL 16

Expert Comment

by:danm66
ID: 35193600
if you want just a quick command to search through all datastores that are seen by a host, I run something like this to get a quick check.  

find /vmfs/volumes -name *.vmdk | grep 0000
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vSphere HA agent Alarms 3 58
Linux mount of Windows Shared Now Fails 8 81
Unable to remove vmdk file from local storage.. 5 49
VCSA 6.5 missing switches after migration 1 22
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…
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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…
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…

820 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