Home > VMware > VMware ESX – Commit snapshots safely with no data loss.

VMware ESX – Commit snapshots safely with no data loss.

If you have been unfortunate enough to find yourself with loads of snapshots in ESX and have snapshots with file sizes bigger than a couple of GB. Then you might be scared to commit them in case of data loss.

You can easily get rid of all the snapshots without any data loss. Using the VMKFS tools you can clone out the hard drives in their current state including snapshots to 1 VMDK. To do this run the following when SSH’d in.

vmkfstools -i harddrivename-000001.vmdk /vmfs/volumes/datastore/ new foldername/new_harddrivename.vmdk

Then it will clone the drive. This may take a couple of hours depending on the size of your drive. Then you just attach the new drive to a newly created VM.

VMware Knowledgebase : 1002458

Categories: VMware Tags: , , , , , , ,
  1. No comments yet.

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word