Solved

Scan for snapshots on ESX 3.5.4

Posted on 2011-03-22
3
684 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vmware 5.5 1 64
VXLAN - same in VMWare NSX and Cisco Environments? 2 60
ESXi and SSLv3 5 59
Upload VMware and vhds to Microsoft Azure General Question 2 63
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

810 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