I had to kill one of my vms as it wasn’t moving through virtual center. Now I’m getting the following error:

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

My vmkwarning log states:

Nov 24 10:09:35 catesxsrv01 vmkernel: 2:17:10:50.489 cpu10:1127)WARNING: Swap: vm 1128: 1528: Failed to open swap file ‘/volumes/45110fca-31b360a5-3297-0015605382c6/CATSWNTEST01_2/CATSWNTEST01-7731ea17.vswp’: Busy
Nov 24 10:09:35 catesxsrv01 vmkernel: 2:17:10:50.489 cpu10:1127)WARNING: Swap: vm 1128: 2448: Failed to initialize swap file ‘/volumes/45110fca-31b360a5-3297-0015605382c6/CATSWNTEST01_2/CATSWNTEST01-7731ea17.vswp’
Nov 24 10:09:35 catesxsrv01 vmkernel: 2:17:10:50.489 cpu10:1127)WARNING: World: vm 1128: 699: init fn swap failed with: No swap file!
Nov 24 10:09:35 catesxsrv01 vmkernel: 2:17:10:50.489 cpu10:1127)WARNING: World: vm 1128: 1530: WorldInit failed: trying to cleanup.

Run the following at the service console and find out what process has the file locked.

ps aux | grep CATSWNTEST01[/code]

If a rogue process has it open, kill it and then try and start the VM.

Categories: VMWare

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Microsoft

Microsoft Virtual Academy- Microsoft Virtualization for VMware Professionals – VDI

http://www.microsoftvirtualacademy.com/training-courses/microsoft-virtualization-for-vmware-professionals-vdi

VMWare

VMWare Support: vSphere Command-Line Interface Documentation

https://www.vmware.com/support/developer/vcli/

VMWare

VMware View – Installing View Connection Broker

Installing a basic View 3 environment is a fairly straight forward process.