Solved

removing and merging VMWare Server 2.0 Snapshots

Posted on 2009-05-05
2
2,557 Views
Last Modified: 2012-05-06
i need to get rid of the files. I did remove snapshot from the console, but the 00001 files still exist. Help.
0
Comment
Question by:jcorso1212
2 Comments
 
LVL 5

Expert Comment

by:mail2prabir
Comment Utility
Hi

 If you want to get rid of a snapshot WITHOUT committing the data to the base disk do the following:
- close the VMware Server Console
- open the VMX file in an editor and modify the disk entry pointing it to the base disk
Example:
ide0:0.fileName = "test-000001.vmdk"

would become
ide0:0.fileName = "test.vmdk"
If you want to commit the data to the base disk you can use vmware-vdiskmanager to convert the disk. Close the VMware Server Console first.
Example: suppose we have a disk test.vmdk with a snapshot test-000001.vmdk (this disk is a monolithicFlat disk).
To commit the changes to the disk we first have to convert the disk to another disk format, the following command converts the disk (including the snapshot) to a new monolithicFlat disk named newtest.vmdk.
vmware-vdiskmanager -r test-000001.vmdk -t 2 newtest.vmdk

Now you have to modify the VMX file and modify the disk entry to point to newtest.vmdk.
The last step is to remove any snapshot related files (vmem, vmsn and vmsd). For safety reasons move the files to another folder instead of deleting them!
If the VM successfully starts you can remove the original disk and the snapshot.
Make a backup first before using the above approach!
0
 
LVL 19

Accepted Solution

by:
vmwarun - Arun earned 500 total points
Comment Utility
Simply use VMware vConverter 4.0 to import and create a new VM in a different destination than the Original VM.
The Source VM needs to be powered off for successful migration.

VMware vConverter Download Link - http://www.vmware.com/products/converter/
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now