VMware Communities > VMTN > VMware Infrastructure™ > VI: ESX 3.5 > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
6 Replies Last post: Jun 4, 2009 10:14 PM by dragooner
Reply

Could not power on VM: No swap file. Failed to power on VM

Jun 2, 2009 6:29 PM

Click to view dragooner's profile Novice dragooner 11 posts since
Mar 4, 2009

Hello:

I have met this problems yesterday,I have done erverything I can,but the problems continued...

I have a 4 SVs vmware cluster,and use FC share Storage.

I used ps -efwww | grep vm_guest_name to check all my Servers,and there is none information;I also used ps auxfww | grep vm_guest_name,there is still nothing return.

why all my servers do not used any process about my problem vm,but the "XXXXXX.vswap" file is still in the storage. it can not be delete,can not be move,can not be copy.

Is there any work I can do?or any methods I could use?

Attachments:
Reply Re: Could not power on VM: No swap file. Failed to power on VM Jun 3, 2009 2:35 AM
Click to view paulmack's profile Enthusiast paulmack 80 posts since
Mar 15, 2006
you could try vm-support -x on each host to get a list of running vm's. If the vm in question is still running on a host it might show up then you use vm-support -X followed by the vm id number to do a debug stop of the vm.
Reply Re: Could not power on VM: No swap file. Failed to power on VM Jun 3, 2009 2:56 AM
Click to view AndreTheGiant's profile Guru AndreTheGiant 5,643 posts since
Aug 28, 2008
The VM seems to be off, but if .vswap exist and could not be removed then the VM is powered on on some ESX.
If you are sure that there isn't a ESX with this VM running, try to reboot the ESX and see if the file (or at least the lock) is removed.

Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
Reply Re: Could not power on VM: No swap file. Failed to power on VM Jun 3, 2009 3:57 AM
in response to: AndreTheGiant
Click to view depping's profile Champion depping 2,992 posts since
Jan 17, 2005
VMware Moderator
Take a look at this article I wrote, it will give you some additional options:
http://www.yellow-bricks.com/2009/04/15/the-basics-how-to-kill-a-vm-thats-stuck-during-shutdown/


Duncan
VMware Communities User Moderator | VCP | VCDX


Blogging: http://www.yellow-bricks.com
Twitter: http://www.twitter.com/depping

If you find this information useful, please award points for "correct" or "helpful".
Reply Re: Could not power on VM: No swap file. Failed to power on VM Jun 4, 2009 9:34 PM
in response to: depping
Click to view dragooner's profile Novice dragooner 11 posts since
Mar 4, 2009
U are very nice guy!~Thx for your help!:)


在2009-06-03 18:58:02,depping <communities-emailer@vmware.com> 写道:

,

A new message was posted in the thread "Could not power on VM: No swap file. Failed to power on VM":

http://communities.vmware.com/message/1270759#1270759

Author : depping
Profile : http://communities.vmware.com/people/depping
Message:

Reply Re: Could not power on VM: No swap file. Failed to power on VM Jun 4, 2009 9:34 PM
in response to: AndreTheGiant
Click to view dragooner's profile Novice dragooner 11 posts since
Mar 4, 2009
I can not reboot my hosts! There are much important APP whitch is using!~

so,do u know any othere methods,just like force delet the .vswap files or any other?

BTW:U are very nice guy,I am glad to receive U message~.

在2009-06-03 17:56:44,AndreTheGiant <communities-emailer@vmware.com> 写道:

,

A new message was posted in the thread "Could not power on VM: No swap file. Failed to power on VM":

http://communities.vmware.com/message/1270710#1270710

Author : AndreTheGiant
Profile : http://communities.vmware.com/people/AndreTheGiant
Message:

Reply Re: Could not power on VM: No swap file. Failed to power on VM Jun 4, 2009 10:14 PM
in response to: paulmack
Click to view dragooner's profile Novice dragooner 11 posts since
Mar 4, 2009
hello:
I tryed methods what U said,but, I cannot find any vm id match my bad vm!~
Is there any other methods?


在2009-06-03 17:35:48,paulmack <communities-emailer@vmware.com> 写道:

,

A new message was posted in the thread "Could not power on VM: No swap file. Failed to power on VM":

http://communities.vmware.com/message/1270693#1270693

Author : paulmack
Profile : http://communities.vmware.com/people/paulmack
Message:

Actions