Solved

Could not power on vm: no swap file

Posted on 2008-10-09
3
7,056 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

830 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