Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

in vSphere the task “create virtual machine snapshot” is stuck

Luca Dell'Oca, October 21, 2013December 4, 2016

It could happen in vCenter a snapshot creation task is not completed, and it remains stuck in the starting state for an unlimited time, just like in this screenshot:

Snapshot task is stuck

As you can see looking at other tasks in the actions list, the snapshot creation in my example started the night before at 21.37 and the next morning is still not even started. In this situation, every management task of this virtual machine is impossible. So, you need first to cancel this task; be careful this method will stop the virtual machine itself. So carefully plan when to do this task.

In order to cancel the task, you first need to verify on which ESXi server the virtual machine is running on:

Check where the VM is running on

Then, login into the ESXi console (via local shell or SSH). You need to find the running processes related to this VM:

Find the processes of the running VM

As you can see, there are several processes related to this VM. The second column shows the “parent” process, linking together all other processes. In my example it is 7788443. Using this value, you can “kill” the parent process by running the command kill 7788443.

In vCenter, the locked task will be suddenly terminated, and the virtual machine will stop. Once you will start again the VM, the problem will be solved.

Killed task

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tech bloccatocreatecreazionecreazionesnapshotstucktasktask

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy