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 il task “create virtual machine snapshot” resta bloccato

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

Potrebbe capitare per svariati motivi che in vCenter un task di creazione snapshot non venga portato a termine, ma resti nella fase di avvio per un tempo indefinito, come potete osservare in questa schermata:

Snapshot task is stuck

Come potete vedere dagli altri task presenti, la creazione della snapshot è iniziata la sera precedente alle 21.37 e la mattina successiva non è nemmeno effettivamente cominciata. In questa condizione, ogni attività di gestione della virtual machine stessa ci è precluso. Bisogna quindi procedere a cancellare il task, anche se la soluzione che vi illustro arresterà la virtual machine stessa. Pianificate quindi quando farlo.

Per cancellare il task è necessario verificare su quale server ESXi è attualmente in esecuzione la virtual machine:

Check where the VM is running on

Fate quindi login (via local shell o SSH) nella console del server ESXi. Dobbiamo per prima cosa trovare il processo corrispondente a quella virtual machine:

Find the processes of the running VM

Notate come vi siano differenti processi correlati alla virtual machine. La seconda colonna ci mostra il processo “padre” di tutti gli altri processi. Nel nostro esempio il valore è 7788443. Con questo valore a disposizione, procediamo a “killare” il processo padre con il comando kill 7788443.

In vCenter, il task bloccato verrà immediatamente terminato, e la virtual machine risulterà spenta. Una volta riavviata la virtual machine, avremo risolto il nostro problema.

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
Tecnologia bloccatocreazionesnapshottaskvsphere

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