Solved

removing and merging VMWare Server 2.0 Snapshots

Posted on 2009-05-05
2
2,626 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:mail2prabir
ID: 24304922
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
ID: 24304925
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

688 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