Solved

Could not power on vm: no swap file

Posted on 2008-10-09
3
7,049 Views
Last Modified: 2012-05-05
Our ESX servers went down hard.  Now, when I try to bring up a VM, I get the following error message: Could not power on vm: no swap file.

We have 15 ESX servers.  I cannot go through each server to kill any rogue processes related to the VM I'm trying to power on.  

Does anyone have a way that I can quickly resolve this problem?
0
Comment
Question by:xi2pay
3 Comments
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 150 total points
ID: 22683812
Check the space on the VMFS make sure you have enough space for a swap file, if there is no space available you may copy off one of the virtual machines off the datastore.  Just make sure it's not a space issue on the datastore first.  I've had issues come up like this when backing up VMs and the snapshots didn't delete properly causing space issues on the datastore such as this.
0
 
LVL 1

Accepted Solution

by:
counterroot earned 350 total points
ID: 22691433
well.... let me see...
you have a cluster as I understand...
check this:

ps -efl | grep $NameOfTheServer$
for $NameOfTheServer$ you give the Servername ^^

take the processnumber (for example "1321") and run:
kill -9 1321

Every Process related to the VM will be killed. You have to run this on each server to be sure to can start the vm.

µatthias
0
 

Author Comment

by:xi2pay
ID: 23140004
thanks for the help. wound up contacting vmware.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now