• Home
  • News
  • Technical Guides
  • Troubleshooting
  • Download
  • Videos
  • Top Bloggers!
  • About

VirtualVCP IT Virtualization

rynardtspies: Worst day on the job by far! 1 day ago from TwInbox

Strange VCB Snapshot Issue on Update 2 PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Rynardt Spies   
Friday, 05 December 2008 18:19

I don't know if anyone else has come across this issue, but since upgrading to ESX 3.5 Update 2 we've been having strange problems with VCB snapshots. I've not had much time for troubleshooting in the last 3 or so weeks, but I found a workaround. Before I get ahead of myself, let me just first explain the issue we are having.

When backing up our VMs with VCB, the snapshot delta files created by VCB needs to be merged back into the main VMDK. However, for the past few weeks I've seen cases on some of our ESX hosts where the snapshots never gets merged back, and the delta files just keep on stacking up every time a snapshot is created. In other words, here’s what happens:

1. VCB creates a snapshot of a VM. This creates delta files such as VMNAME-000001.vmdk.
2. When the backup process completes, the snapshot delta VMDK is supposed to merge back into the main or its parent VMDK file but fails to do so. Now, this is not normally a problem, as you can just go and "delete" the snapshot using the snapshot manager in the VI Client.
3. However, when you go to the snapshot manager in the VI client, there are no VCB snapshots but there may be a "consolidate helper" snapshot. Even if I delete this snapshot, the process fails to merge the VMDK files back.
4. If I then create another snapshot manually using the snapshot manager, this creates the second set of delta files such as VMNAME-000002.vmdk.
5. When I then try to delete the snapshot, the VI Client reports the Virtual Machine as having no snapshots, however when browsing the data store, I can still see all the delta files. Also, when I log onto the ESX server where the VM is running, and issue vmware-cmd /vmfs/volumes/<DATASTORE>/<VMNAME>/<VMNAME>.vmx hassnapshot, the ESX server returns no snapshots for that VM.

This is a strange problem. The Virtual Machine clearly has snapshots delta files in its data store; however the ESX host is unaware of any snapshots for that VM.Now I did find a workaround for this problem, but I've been unable to find the root cause of this problem as I've been way to busy the last few weeks to have a good look at it.

The workaround is:

1. Log onto the console of the ESX host where the VM with snapshot problems is running on.
2. Restart the management agent on that server with service mgmt-vmware restart.
3. In the VI Client, go to the snapshot manager and manually create a snapshot for the VM (without a memory snapshot).
4. Now, "Delete" all snapshots. This should merge all delta files back into the main VMDK file.

The workaround suggests that there is a problem with the management agent on the ESX hosts, but if so, it has to be something in the Update 2 release as my cluster has 16 hosts and the problem seems to be popping up on random hosts daily. I am now planning to upgrade to Update 3 to see if that will clear the problem.

If anyone else has come cross a similar issue, please drop me an email or a comment.

 

  • Add New
  • Search
  • RSS
Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Security Image
Please input the anti-spam code that you can read in the image.
Joomla components by Compojoom
< Prev   Next >
 
SocialTwist Tell-a-Friend

vmw-vcp_logo_260x40

vmw-vexpert_logo_223x40

 

View Rynardt Spies's profile on LinkedIn

 

Poll

ESX or ESXi in Production Environment?
 

What's the latest?

  • vSphere 4.1: VPXA Holds ESX Host at Ransom
  • Replacing vSphere SSL Certificates
  • The London UK VMware User Group Meeting on 15 July 2010
  • My thoughts on the VCDX Enterprise Admin Exam
  • New vSphere Patches Released on 10 June 2010

Popular

  • ESX 3i: Host in HA Cluster must have userworld swap enabled
  • ESX 3.5 on HP Proliant ML115 G5
  • VMware ESXi 3.5 on HP Proliant ML110 G5
  • Patching ESX 3.5 Using esxupdate
  • Cheap and quiet solution for a home-based ESX Server

Where Am I Today?

calendar_icon_s

Login to VirtualVCP

In order to leave comments, please log in.



  • Forgot your password?
  • Forgot your username?

Support VirtualVCP!

Information and Resources on this site are 100% free, however it costs money to run this site. Please help support this site by giving a donation.

Amount: 

RSS Feeds

VirtualVCP Virtualization Blog - ATOM Feed
VirtualVCP Virtualization Blog - RSS 0.91 Feed
VirtualVCP Virtualization Blog - RSS 2.0 Feed
VirtualVCP IT Virtualization, Powered by Joomla!; Joomla templates by SiteGround vBulletin hosting provider!

valid xhtml valid css