Find which VM has snapshots on datastores

/ April 14th, 2011/ Posted in VMWare / No Comments »

Problem: Many VMs had snapshots not listed in snapshot manager but still existed on the filesystem.

Solution:

Find all the snapshots on the datastores and clean them up by either cloning the virtual machine or command line tools.

Run this command on a host that has access to all the datastores you wish to scan.

find /vmfs/volumes/ -name “*delta*” -type f  -print0 | xargs -0 du –human-readable –total|less


Leave a Reply

Name required

Please Submit Answer *