Hi all,
Not sure what exactly happened but 6 servers became invalid in virtualcenter. I removed them from inventory but i can't add them back with the .vmx file as this option is grayed out. This is what was done to troubleshoot..
[root@gisapp245 GISTEST02]# touch *
touch: setting times of `GISTEST02-8d3f4c2d.vswp': Invalid argument
touch: setting times of `GISTEST02-flat.vmdk': Invalid argument
touch: setting times of `GISTEST02 (Lync-Front End)-flat.vmdk': Invalid argument
touch: setting times of `GISTEST02.nvram': Invalid argument
touch: setting times of `GISTEST02.vmx': Invalid argument
touch: setting times of `vmware.log': Invalid argument
[root@gisapp245 GISTEST02]# vmkfstools -D /vmfs/volumes/GLOVMFS09/GISTEST02/GISTEST02.vmx
Lock [type 10c00001 offset 21061632 v 411, hb offset 3526656
gen 77, mode 1, owner 5077e875-d50ef811-7cce-f04da23bafaf mtime 18327]
Addr <4, 23, 4>, gen 10, links 1, type reg, flags 0, uid 0, gid 0, mode 755
len 3274, nb 1 tbz 0, cow 0, zla 2, bs 65536
In this case it’s a network card from the GISAPP245, same host (see bold marked MAC Address), however this network card isn’t part of any virtual switch / isn’t in use. I have powered off the ESX host but this doesn't make a difference. Still grayed out when i try from a different host as well.
[root@gisapp245 GISTEST01]# hexdump -C GISTEST02.vmx
hexdump: GISTEST02.vmx: Invalid argument
hexdump: GISTEST02.vmx: Bad file descriptor
Í've read that when this returns you are more or less screwed!
Other virtual machines on the same host and datastore run fine (and option is not grayed out). The ESX host is part of a cluster of 3 nodes running ESX 4.1 (build 582267) with EQL iscsi storage.
Is there any way to 'offline' a datastore (i need to storage vmotion other production vm's first) or any other way to remove the lock from the files for all servers. It is listed as test but they really are production servers, any input is more than welcome!
Nope, i don't have a backup of these servers!
Thanx in advance.
Rgds,
Loontje