VMware vSphere

 View Only
  • 1.  Remove Snapshot Stuck

    Posted Jul 30, 2023 07:05 PM

    I have a Virtual Machine that I can't perform any actions on and is not responding.  So I can't reboot, or shut it down.  In the tasks there is a Remove Snapshot process running (that's been running now for over 24 hours) that I tried to cancel and is now in a Cancel Requested state (and has been that way for over 12 hours).

    I need to get this VM back online and I don't know if the stuck snapshot process is the culprit for me not being able to reboot the VM but I'd love some help here as I need to get this machine back online before Monday am!!

    Options I've considered - rebooting the hypervisor and rebooting vsphere!  Are any of those viable?  Or are the better things to try!



  • 2.  RE: Remove Snapshot Stuck

    Posted Jul 30, 2023 07:25 PM

    From https://kb.vmware.com/s/article/1007566

    "There is no way to stop or cancel the consolidation process without risking data corruption. Do not attempt to create a new snapshot on the consolidating virtual machine."

    What you can do, is to monitor the VM's files to see whether they get modified, using the command in the mentioned KB article.

    watch -d 'ls -luth | grep -E "delta|flat|sesparse"

    If you do have active support with VMware, you may consider to open a support case for this.

    André



  • 3.  RE: Remove Snapshot Stuck

    Posted Jul 31, 2023 02:05 AM

    I have gone through the same situation and rebooting the VM through CLI worked for me. Login via ssh to your ESXi host and poweroff/reboot the VM. Please follow the below KB for CLI commands:

    https://kb.vmware.com/s/article/1004340

    Regards,

    Sachchidanand