Solved

Could not power on vm: no swap file

Posted on 2008-10-09
3
7,062 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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…

691 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