Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

VMware snapshot files

Posted on 2010-01-09
12
Medium Priority
?
575 Views
Last Modified: 2012-05-08
I have an ESX host that has run out of space.  I noticed that there were a number of snapshots and removed them, but still have no room.  When I browse the datastore I see a number of files that I think are leftover from the snapshots.  There is abase machine file servername.vmdk and three other files servername-0000001.vmdk, servername-0000002.vmdk etc.  The servername.vmx files shows the last file (servername-0000004.vmdk as the one in use.  My question is how can I get rid of these files or can I?
0
Comment
Question by:SpyderG
  • 6
  • 6
12 Comments
 
LVL 24

Expert Comment

by:ryder0707
ID: 26274135
Do you still see snapshots in the snapshot manager?
0
 

Author Comment

by:SpyderG
ID: 26274164
No.  In fact I followed a kbase article that had me make another snapshot from the command line then remove all snapshots.
0
 
LVL 24

Expert Comment

by:ryder0707
ID: 26274179
Well, if you dont need need any of the snapshots, you could just edit your vmx to point to the base vmdk and delete other useless vmdk files
0
Technology Partners: 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!

 

Author Comment

by:SpyderG
ID: 26274193
I'll give it a try and let you know how it works.  I'm a little nervous though.
0
 
LVL 24

Expert Comment

by:ryder0707
ID: 26274276
Should be fine, but I'd backup the files to a temp directory before doing anything
0
 

Author Comment

by:SpyderG
ID: 26274462
When I deleted one of the files the VM would not boot stating that it was missing that file.  I then updated teh VMX file to point to the base VMDK and the server booted, but has none of the latest data.
0
 
LVL 24

Expert Comment

by:ryder0707
ID: 26274514
Yes that's true becoz when you snapshot, the changes will be update to delta files and the base vmdk will remain untouch
I thought u said you dont need the snapshot, if you need the latest data you have to revert the snapshot
0
 

Author Comment

by:SpyderG
ID: 26274555
I removed the snapshots to leave only the latest version.  Did misunderstand something in this process?  My understanding is that removing the snapshots consolidates all of the data to one file, but this did not seem to happen.  When I look in the manager it shows no snapshots.
To make matters worse, it seems that somehow the data store was overcommitted because removing the 100Gb file only left 88Gb free.  What now?
0
 
LVL 24

Expert Comment

by:ryder0707
ID: 26274663
Yes your understanding is good, something went wrong a long the way
Do you still want to try reverting to the latest snapshot?
If that doesn't work then i think you may need to consider restore from backup at file level
0
 

Author Comment

by:SpyderG
ID: 26274715
I would like to try to get back to the latest snapshot.  I'm currently backing up another file to try to make more room, then will restore the missing file.  
0
 
LVL 24

Accepted Solution

by:
ryder0707 earned 2000 total points
ID: 26274739
If the snapshots are not in sync, you may want to read this article http://redshift10.blogspot.com/2008/04/vmdk-snapshots-and-importance-of-cid.html
0
 

Author Closing Comment

by:SpyderG
ID: 31675025
We ended up having to recreate the VM, but I'm warding you the points because your information was still very valuable.  Thanks!
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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this article will go through how to backup a vPostgres DB from a broken vCenter Appliance and restore to a new vCenter Appliance.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

575 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