Quantcast
Channel: VMware Communities: Message List - ESXi
Viewing all articles
Browse latest Browse all 28826

Re: vSphere Delete VM Snapshot

$
0
0

Hi,

 

This is what worked for me.

 

Open putty and connect to your ESXi server. Navigate to the VM datastore and execute the following commands.

 

grep -i filename "vmNamevmx" | grep -i vmdk //gives the name of the vmdk currently in use for the VM

 

less "vmName-000001.vmdk" | egrep -i "cid|parentcid|vmdk" //check the CID and parent CID for each snapshot the parentCID of the first snapshot has to match the CID of the base vmdk. If you have a second snapshot its parentCID has to match the CID of first snapshot and so on. It it does not match, Use vi snapshotName.vmdk and edit.

 

Create a recover directory with enough free space.

 

vmkfstools -i "vmName-000001.vmdk" /vmfs/volumes/4d395e37-36b73cfa-17f4-00199997b746/recover/vmName_new.vmdk //Refer to the snapshot in use that you got from above, this will clone the virtual machine vmdk and consolidate all snapshots into one.

 

Thanks!


Viewing all articles
Browse latest Browse all 28826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>