<

Troubleshooting ESXi 5.0 and 5.5 snapshots issues - Tips

Published on
9,642 Points
3,342 Views
3 Endorsements
Last Modified:
Approved
Luciano Patrão
VCP6.5-DCV, vSAN Specialist, vExpert last 3*, Veeam Vanguard. Expertises VMware, Virtual Backups and Storage design and a active Blogger.
There are some issues that we can encounter with some VMs regarding snapshots and some VM operations..

These issues can appear when you upgrade VMs HW to v9 or v10, when you migrate hosts/VMs to a new vCenter(5.0 or 5.5) when VMs have snapshots created.

Try these tips to see if they resolves your issues when you encounter the following...

1st problem:

When you try to revert to any snapshots we get "The operation is not supported on the object".
This one is easy to fixed, just remove the VM from the inventory and add again to vCenter. That will fix the problem.

We may use the vim-cmd vmsvc/reload vmid option here(second option on this article)

2nd problem:

When you try to use any of the Snapshots options('Take Snapshot', 'Snapshot Manager' and 'Revert to current Snapshot') Virtual machine operations are grayed out. There is virtual machine tasks running in the background(maybe any previous task hanging).

So first you need to check which tasks are running on the VM.

Just connect to your host(ssh) and list all VMs and their vmid.

Run:

vim-cmd vmsvc/getallvms

You will get all VMs and vmid associated. After you get your VM vmid Run:

vim-cmd vmsvc/get.tasklist vmid

The output is similar to:

(ManagedObjectReference) [
'vim.Task:haTask-112-vim.VirtualMachine.createSnapshot-3887']


If there is no task running on that virtual machine, you see output:

(ManagedObjectReference) []

But even you don't see any tasks running, it has a process running (or hanging). So you should reload the vmx file(that will create a new Inventory ID (Vmid) and this should be enough to fix this issue.

Run:

vim-cmd vmsvc/reload vmid

Now the Virtual Machine should be ok and you should have all options available again.

More information here about this commands:

http://kb.vmware.com/kb/1013003
http://kb.vmware.com/kb/2048748

I have tested the vim-cmd vmsvc/reload on the first issue, and it works for me...

This is the first of "TIP Articles" that I plan to write when I have some time. So, please vote "Helpful" on this Article. And I encourage your comments and feedback.
3
Comment
0 Comments

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Join & Write a Comment

Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
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 …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month