VMware Cloud Community
xybal
Enthusiast
Enthusiast

vCenter No swap file

Hi,

My vCenter (2.5u5) is a VM. My ESX nodes are V3.5u5.

I've powered off my vCenter cleanly powering off my VM.

After that I've accessed onother node and regertered vcenter on this new node.

But when I try to bot my VM it complains "Could not power on VM: no swap file".

I've tried to "lsof" on all nodes and noticed that all nodes were trying launch a process to join my vCenter.

Now I'm putting all my ESX nodes in "evaluation mode" to avoid ESX nodes to launch the process calling vCenter.

I've still got my error message. What Can I try to do more ?

Here are my vmkernel logs:

Feb 8 16:24:30 YYYYYYYYY vmkernel: gen 38234, mode 1, owner 4b699545-6321cd8a-fb91-001e0b72b842 mtime 432053]

Feb 8 16:25:33 YYYYYYYYY vmkernel: 4:02:11:27.446 cpu3:1041)World: vm 1225: 901: Starting world vmware-vmx with flags 4

Feb 8 16:25:33 YYYYYYYYY vmkernel: 4:02:11:28.287 cpu0:1225)World: vm 1226: 901: Starting world vmm0:XXXXXXX with flags 8

Feb 8 16:25:33 YYYYYYYYY vmkernel: 4:02:11:28.287 cpu0:1225)Sched: vm 1226: 5333: adding 'vmm0:XXXXXX': group 'host/user': cpu: shares=607 min=0 minLimit=-1 max=-1

Feb 8 16:25:33 YYYYYYYYY vmkernel: 4:02:11:28.287 cpu0:1225)Sched: vm 1226: 5352: renamed group 61 to vm.1225

Feb 8 16:25:33 YYYYYYYYY vmkernel: 4:02:11:28.287 cpu0:1225)Sched: vm 1226: 5366: moved group 61 to be under group 4

Feb 8 16:25:33 YYYYYYYYY vmkernel: 4:02:11:28.306 cpu3:1225)FS3: 2048: Checking if lock holders are live for lock [type 10c00001 offset 40040448 v 11, hb offset 3694080

Feb 8 16:25:33 YYYYYYYYY vmkernel: gen 36957, mode 1, owner 4b699545-6321cd8a-fb91-001e0b72b842 mtime 423363]

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: Swap: vm 1226: 2268: Failed to open swap file '/volumes/4948c57c-a4002086-582b-001e0b72b842/XXXXXXX/XXXXXXXX-f1c06d67.vswp': Lock was not free

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: Swap: vm 1226: 3586: Failed to initialize swap file '/volumes/4948c57c-a4002086-582b-001e0b72b842/XXXXXXX/XXXXXXX-f1c06d67.vswp': Lock was not free

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: World: vm 1226: 911: init fn swap failed with: No swap file!

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: World: vm 1226: 1776: WorldInit failed: trying to cleanup.

vmkwarning logs :

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: Swap: vm 1226: 2268: Failed to open swap file '/volumes/4948c57c-a4002086-582b-001e0b72b842/XXXXXX/XXXXXX-f1c06d67.vswp': Lock was not free

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: Swap: vm 1226: 3586: Failed to initialize swap file '/volumes/4948c57c-a4002086-582b-001e0b72b842/XXXXXXX/XXXXXXX-f1c06d67.vswp': Lock was not free

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: World: vm 1226: 911: init fn swap failed with: No swap file!

Feb 8 16:25:37 YYYYYYYYY vmkernel: 4:02:11:32.320 cpu0:1225)WARNING: World: vm 1226: 1776: WorldInit failed: trying to cleanup.

Thx for your help

Reply
0 Kudos
2 Replies
Troy_Clavell
Immortal
Immortal

on the ESX Host in which the VM is registered, at the console try this

>service mgmt-vmware restart

...also, maybe these will help too

http://kb.vmware.com/kb/10051

http://kb.vmware.com/kb/1006436

Reply
0 Kudos
xybal
Enthusiast
Enthusiast

Already done but still doesn't work.

Any another idea ?

please

Reply
0 Kudos