Solved

Remove snapshot stuck for more than 20 hours - ESXi 5.0

Posted on 2013-01-16
5
11,183 Views
Last Modified: 2013-01-16
Yesterday tried to remove VM snapshots on ESXi 5.0, and the process is stuck for more than 20 hours.
Running  vim-cmd vimsvc/task_list of this host it shows:
(ManagedObjectReference) [
   'vim.Task:haTask-44-vim.VirtualMachine.removeAllSnapshots-12580485'

The VM is unresponsive, no shutdown, does not even allow to rename the VM, any task gets an error "another task is already in progress", no problems manipulating with any other VMs.

I have no problem to lose this particular VM, but the host is in production cluster.

Thanks
0
Comment
Question by:Vasilax50
  • 2
  • 2
5 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 38783907
this is how you should proceed:-

1. Restart Network Management Agents on the Host Server, hosting the VM.
2. Restart vCenter Server Server service on the vCenter Server.

It would appear that a Task has Hung which needs clearing.

The above functions are safe, and will not affect any of the VMs running in production.

then we can proceed with the snapshot issue, if you wish.

Please see my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
 
LVL 14

Expert Comment

by:RickEpnet
ID: 38784081
I would do this only as a last resort but you can try what is outlined here but read through it all.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014165
0
 

Author Comment

by:Vasilax50
ID: 38784296
Looks like your, hanccocka, solution works :)
Restarted Network Management Agents on host and VCenter Service and the process gone

But now in inventory I have inaccessible virtual machine named "Unknown 37" , if I try to remove from inventory, it created another, "Unknown 38" VM
Also, I cannot delete the the old VM folder from the Datastore

Thank you
0
 
LVL 117
ID: 38784371
was this the VM that had the snapshot issue.

its looking likely that there is a lock on the VM, which is no surprise

there are two ways to get rid of locks, the short way restart the host, the long way, login via console or ssh, find the lock, using lsof, kill the process.
0
 

Author Closing Comment

by:Vasilax50
ID: 38784530
Thank you !
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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.
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…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now