Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

can't register/add to inventory a vm because of locked file

$
0
0

I have several ESXi 5.1 hosts in a cluster. There is one vm that I can't add to inventory. I have followed several kb articles and even removed the ESXi host from the cluster completely after verifying that it was the ESXi host causing the lock by finding the MAC address. I am unable to view the vmware.log file for this virtual machine. I get an "invalid argument" error when trying to cat the vmware.log or the .vmx file. The lock file is "vmname.vmx.lck". I've rebooted and restarted the management agents several times. I'm just not sure where to proceed from here as I've been reading about how to resolve this for about 3 hours and have yet to find anything that works. The contents of the directory contain the following files if this helps at all:

-rw-r--r--1 root root    162078 Sep 21 16:06 vmware.log
-rw-r--r--1 root root        73 Sep  9 18:33 vmname-63cf5ada.hlog
-rw-------1 root root 21474836480 Sep 21 16:51 vmname-flat.vmdk
-rw-------1 root root      8684 Sep  9 18:34 vmname.nvram
-rw-------1 root root       517 Sep  9 18:33 vmname.vmdk
-rw-r--r--1 root root         0 Sep  7 17:50 vmname.vmsd
-rwxr-xr-x1 root root      3342 Sep 13 18:18 vmname.vmx
-rw-------1 root root         0 Sep  9 18:33 vmname.vmx.lck
-rw-r--r--1 root root       262 Sep  7 17:50 vmname.vmxf
-rwxr-xr-x1 root root      3341 Sep 13 18:18 vmname.vmx~
-rw-------1 root root 37580963840 Sep 21 16:51 vmname_1-flat.vmdk
-rw-------1 root root       519 Sep  9 18:33 vmname_1.vmdk

Suggestions?


Viewing all articles
Browse latest Browse all 175326

Trending Articles