I cant start a vm because the vm swap file is locked. I lost access to the storage while the vm was powered on. Anytime I have locked files I usually have to reboot, does anyone have a trick to unlocking this file? It doesnt show in lsof ... here is the vmkwarning error
Jan 8 11:12:54 esx-02 vmkernel: 3:18:58:27.397 cpu2:1167)WARNING: Swap: vm 1168: 1528: Failed to open swap file '/volumes/4580328b-e1412955-0353-003048238adb/win2k3-test-01/win2k3-test-01-eef18426.vswp': Lock was not free
Jan 8 11:12:54 esx-02 vmkernel: 3:18:58:27.397 cpu2:1167)WARNING: Swap: vm 1168: 2448: Failed to initialize swap file '/volumes/4580328b-e1412955-0353-003048238adb/win2k3-test-01/win2k3-test-01-eef18426.vswp'
Thanks
reboot, disk locked as well
hello,
what if the same errors (swap files locked) occured again and again...
how we can prevent from this ?
respectfully,
avi
I have the same problem...
Rebooting the ESX server each time this problem occurs is not a good solution
same problem here ... rebooting the affected esx host system is the only solution, vmkernel resets the lock state at starting:
Apr 4 13:42:02 esx01 vmkernel: 0:00:04:30.926 cpu6:1060)FS3: 1714: Checking if lock holders are live for lock [type 10c00001 offset 24256512 v 14, hb offset
3240960
Apr 4 13:42:02 esx01 vmkernel: gen 21, mode 1, owner 460d8fd1-4d78c77f-cf3b-001517197a0c mtime 545]
Apr 4 13:42:02 esx01 vmkernel: 0:00:04:30.926 cpu6:1060)FS3: 752: Clearing stale owner for lock[type 10c00001 offset 24256512 v 14, hb offset 3240960
any way to do this step on an running system?!