4 Replies Latest reply on May 24, 2007 7:48 AM by esiebert7625

    VM stuck at 95% om power off

    fputhod Enthusiast

      I tried to power off a hanging VM, now the power off itsself hangs at 95% since several hours.

      I am on VI3.0.1 using the VC 2.0.1

       

      I tried to ps -ax on the console to see any process with the VM hostname but nothing!

       

      Any idea how to force the power off?

        • 1. Re: VM stuck at 95% om power off
          esiebert7625 Guru
          vExpert

          How can I kill a stuck virtual machine?

           

          ESX 3.0 method

          o     Login to the service console

          o     You can check the VM state by typing “vmware-cmd /”

          o     You will be prompted if you want to include a screenshot of the VM, send an NMI to the VM and send a ABORT to the VM, you must answer Yes to the ABORT question to kill the VM. The entire process will take about 5-10 minutes to run. It will create a tar archive in the directory you run it in.

           

          fyi...if you find this post helpful, please award points using the Helpful/COrrect buttons...thanks

          • 2. Re: VM stuck at 95% om power off
            krishnaprasad Hot Shot

            have u tried stopping the VM using the CLI mode.

             

            vmware-cmd  stop

            1 person found this helpful
            • 3. Re: VM stuck at 95% om power off
              fputhod Enthusiast

              as I said for some reason the VM would never appear in any ps I did.

              a vmcmd stop did not help as it said another process in taking place...yeah it was trying to power off.

               

               

              So I used the "alternate method". It indeed stopped the VM, but what do I do with all those files now? can I just delete them? i mean at least for the vswp file...

              • 4. Re: VM stuck at 95% om power off
                esiebert7625 Guru
                vExpert

                Yes you can delete all the support files it created. The vswp file is created when the VM is powered on and is deleted when it is powered off. if there is one existing after it is powered off you can delete it. It will create a new one when it powers on again.

                1 person found this helpful