VMware Cloud Community
luogzhi
Contributor
Contributor

虚拟机开机出错

环境:ESXi 6.0

虚机重启出错卡死,无法关闭和重启,然后通过esxcli vm process kill 强制关机。但是再次开机的却无法开机,出现错误堆栈,内容如下:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

打开虚拟机 NETWORKER服务器 的电源时,会收到来自 ESX 主机的错误。

无法启动虚拟机。

模块 Disk 打开电源失败。

无法打开磁盘“/vmfs/volumes/58cf831e-3d6c1098-c11f-141877435569/NETWORK服务器/NETWORK服务器_1-000001.vmdk”或其所依赖的快照磁盘之一。

未能锁定文件

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

该怎么解决呢?还能不能救啊?急~~~

Tags (1)
0 Kudos
4 Replies
MBreidenbach0
Hot Shot
Hot Shot

I really don't understand chinese. According to google translater it seems ESXi can't lock a file.

Which can happen if something crashed and didn't remove a lock. Or its really locked somewhere else.

I've seen that happen with backup servers (they mount a file, crash, don't unmount -> problem).

I've also seen that happen when a VM on a shared datastore was running on a standalone host not managed by vCenter.

I've used the procedure described here VMware Knowledge Base to find the lock owner.

0 Kudos
luogzhi
Contributor
Contributor

Don't know how to solve this problem, but still thank you very much for your help, thank you!

0 Kudos
vividcn
Contributor
Contributor

VMware Knowledge Base

今天处理了一个客户的,先看一下虚拟机是运行在块存储(FC SAN、IP SAN)还是文件存储(NFS)上,如果是在文件存储,按照上面链接处理。

0 Kudos
lujun19891031
Contributor
Contributor

找到该虚拟机的文件,看下有没有lck文件,如果没有找下vmdk文件是0k的,随便重新命名下,然后再启动虚拟机试试看,问题基本上解决了。

0 Kudos