Solved

Could not power on vm: no swap file

Posted on 2008-10-09
3
7,046 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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks for the help. wound up contacting vmware.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
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.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

744 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

18 Experts available now in Live!

Get 1:1 Help Now