VMware Cloud Community
Ty1on
Enthusiast
Enthusiast
Jump to solution

Can't start VM - Receive error message about swap file

When trying to start one of my VMs I receive an error,

Could not power on VM : No swap file. Failed to power on VM.

Any suggestion and/or resolutions would be appreciated.

0 Kudos
1 Solution

Accepted Solutions
petedr
Virtuoso
Virtuoso
Jump to solution

Here are 2 vmtn thread talked about VMs with this error. Don't know if either of the resolution resolves your issue but their worth checking out.

http://communities.vmware.com/message/533389

http://communities.vmware.com/thread/50436

www.thevirtualheadline.com www.liquidwarelabs.com

View solution in original post

0 Kudos
5 Replies
RKuehn
Contributor
Contributor
Jump to solution

probably your swap file is not in the same directory where you config file is located.

Maybe you can create a new VM without a virtual disk.

In SC move the existing virtual disk (both vmdk-files) to the new directory of the VM and add virtual disk to the new VM.

Now try to start the new VM.

Regards

Rainer

0 Kudos
dominic7
Virtuoso
Virtuoso
Jump to solution

When you power on a VM, ESX creates a swap file in size equal to the amount of RAM allocated to the VM - the amount of memory you have reserverd for the VM. Most likely your VMFS filesystem is full and ESX can't create the swap file for this VM.

This leaves you with 3 options

1. Don't power on the VM

2. Free up some disk space on the VMFS volume

3. Set a memory reservation for the VM of size ( free space necessary to create VM swap file - free space on VMFS volume ).

0 Kudos
petedr
Virtuoso
Virtuoso
Jump to solution

Here are 2 vmtn thread talked about VMs with this error. Don't know if either of the resolution resolves your issue but their worth checking out.

http://communities.vmware.com/message/533389

http://communities.vmware.com/thread/50436

www.thevirtualheadline.com www.liquidwarelabs.com
0 Kudos
petedr
Virtuoso
Virtuoso
Jump to solution

thanks for the correct. Assuming your problem has been resolved.

www.thevirtualheadline.com www.liquidwarelabs.com
0 Kudos
RKuehn
Contributor
Contributor
Jump to solution

Thanks for your e-mail.

I am out of the office until 07. 01.2008.

Your e-mail won't be forwarded during my absence. I will respond to it when I return.

best regards

Rainer Kühn

North and Central EMEA HUB

Workplace Services, Deployment

EDS Operations Services GmbH

Friedrich-Engels-Allee 20

D-42103 Wuppertal

0 Kudos