?
Solved

VMware snapshot files

Posted on 2010-01-09
12
Medium Priority
?
565 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
[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
  • 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

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: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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 convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Suggested Courses

777 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