VMware vSphere

 View Only
  • 1.  Snapshot removal task stuck at 99%

    Posted Apr 10, 2020 06:40 PM

    Hi,

    One of the VMs (which is part of the Veeam backup) is stuck removing snapshot at 99% for several hours. We canceled Veeam backup job and noticed 2 more snapshot removal jobs with no progress.

    -000001-delta.vmdk has been stuck at 6.7GB for several hours, however we are seeing slow groth on -0000002-delta.vmdk

    VM with a stuck snapshot removal has ID of 36 (identified using vim-cmd vmsvc/getallvms)

    Would it be safe to kill the snapshot removal task ?

    Is there another approach to solving this problem?

    ~ # vim-cmd vmsvc/get.tasklist 36

    (ManagedObjectReference) [

       'vim.Task:haTask-36-vim.vm.Snapshot.remove-449261767'

    Thanks



  • 2.  RE: Snapshot removal task stuck at 99%

    Posted Apr 10, 2020 07:28 PM

    You can kill the process by using command as you mentioned  else use ps command to kill the stuck process Like below.

    Run ps command. If you face problems to find the running processes related to the VM please use grepe.g. ps | grep VM_name. In the below example, I looked for VM named:

    SPDB1CEN-kill_task

    Kill the parent process by running the command kill id_parent. In my case: kill 84695.

    The hang task should be canceled now.



  • 3.  RE: Snapshot removal task stuck at 99%
    Best Answer

    Posted Apr 10, 2020 07:47 PM

    Snapshot removal jobs eventually timed out (I didn't cancel the task) and I was left with a VM that needed to be consolidated



  • 4.  RE: Snapshot removal task stuck at 99%

    Posted Apr 10, 2020 09:57 PM

    Next time you recommend to kill a snapshot removal task please add the disclaimer:

    Killing a snapshot removal task is a gamble.

    Chances are that the damage can not be repaired !!!

    So use it as ultima ratio only