Solved

Could not power on vm: no swap file

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Loading Office 2016 on virtual machines 5 55
Veeam Synthetic Full Backup 6 66
cloning a vm failure 9 57
How to Shrink a VMware VMDK 4 67
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
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 use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

815 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

13 Experts available now in Live!

Get 1:1 Help Now