Solved

Collapse VM Server 2.02 Snapshots

Posted on 2011-02-14
14
578 Views
Last Modified: 2012-05-11
We run VMWARE Server 2.02 on Windows 2008 and I am wanting to expand one of the disks, but when I run the command line it says I need to collapse the snapsots. I can find a place to remove them, but not collapse them. Where and how specifically can I collapse the snapshots please?
0
Comment
Question by:networkn
[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
  • 5
  • 5
  • 4
14 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 334 total points
ID: 34892488
Collapse snpahosts means remove them all.
0
 
LVL 120
ID: 34892498
or if you want to preserve them for Backups, if you've been using them for that purpose.

I would recommend and use VMware Convertor to migrate and create a new virtual machine with the newly sized disk with the data and without the snapshots.
0
 

Author Comment

by:networkn
ID: 34892503
Err what? I thought that when you made a snapshot, all new data was wirtten to the snapshot, meaning that if you remove it you will lose all data contained in the snapshots?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 334 total points
ID: 34892523
When you create a snapshot, from that moment on, all changes are written to the snapshot, and not the main vmdk, it's not recommended to run on snapshots for more than 2 days.

You have the option to Rollback or Delete/Collapse the snapshot, which merges the data in the snapshot delta disk with the main vmdk file (this can take a long time depdending on how long you'vbe been running the snapshiot) hence, why it's not recommended to keep them running for a long time in poduction.

VMware Converter Download here

http://www.vmware.com/products/converter/

For the conversion steps, read Bestway article.

http://www.experts-exchange.com/Software/VMWare/A_3639-VMware-vConverter-P2V-for-Windows-Servers.html

0
 

Author Comment

by:networkn
ID: 34892549
So deleting the snapshot actually merges it with the base vdmk? I need to be 100% sure that I don't lose any data here.

I'll install converter.
0
 
LVL 120
ID: 34892555
How bigs is the delta vmdk file, and how long have you been running snapshots?
0
 

Author Comment

by:networkn
ID: 34892575
1 x 3gb snapshot file. Original vdmk is 15gb. 4 weeks
0
 
LVL 120
ID: 34892596
Okay, that's quite small.

VMware Converter is the safest option, but you shouldn't run on snapshots in production, because they grow out of control, people forget about disk space, and then the machine fails and will not turn on because the datastore, disk space has been used up, and you need free space to merge the snapshot. So be warned.

Most common question on EE, is I've got a Snaphot, and .......
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 166 total points
ID: 34892601
Yes...deleting snapshots RETAINS all data, by writing the data within the snap to its parent (this is heirarchical, meaning you can have a tree of snaps so it will write to it's parent in the tree). Once the snap's data is written to the parent disk, the snap file is then deleted (thus why VMware uses the term "Delete" in it's snapshot manager, etc.). You can read more about snaps in this KB (it's excellent IMO):
http://kb.vmware.com/kb/1015180
And snapshot best practices:
http://kb.vmware.com/kb/1025279

Hope that helps.

Regards,
~coolsport00
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 34892615
"hanccocka" is accurate - this is one of the most common EE posts. A couple things to keep in mind regarding snaps -> they are not a backup solution at all; that being said, try not to keep them longer than a day...2 at most. They were designed to protect you when updating VMs (patches, app updates, etc.).

Regards,
~coolsport00
0
 

Author Comment

by:networkn
ID: 34892829
http://kb.vmware.com/kb/1015180

Is it ok that it refers to esx?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 34892867
Yes...the functionality of what a snapshot is (and does) is the same across all VMware platforms. But, specifically for Server you can reference the User's Guide:
http://www.vmware.com/pdf/vmserver2.pdf, beginning on pg. 195

~coolsport00
0
 

Author Comment

by:networkn
ID: 34989242
I used Vmware converter to convert it to a bigger hard disk which merged the content. Seems to have worked. I just want to confirm before I close this, that DELETING snapshots in Server 2.0 100% collapses the snapshot back into the main vdmk? No loss of data? What happens if you have 3 snapshots and you delete the middle one? Does it delete the third one and data written to it is lost?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 34989752
Yes...it *COMMITS* the data to the parent disk. Please read the KB given. It explains your questions in more detail. Snaps are in a chain, when a snap's data is 'committed', it's done so to its parent disk, which may not be the source/orig virtual disk if there are more than 1 snapshots. If you delete a middle of 3 snaps, you could lose your VM as a whole, or more than likely just the 3rd and middle snap data. I honestly don't know why VMware has the ability to have "tree'd" snaps. It causes more confusion and potential for corruption than benefit. But, they give users flexibility for their product, I guess.

Regards,
~coolsport00
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

733 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