Hi , i facing issue where meet some vm which with unknow(inaccessible) .
I'm plan to remove it but i cant edit the virtual machine due to grey out on setting.
i only can use ssh to display vmid but cant find the location, looking for help is any commend or way to find out where does these vm located on datastore.
use the program RVtools to locate where these files are. they might appear under health tab for zombie vmdks
I am not too sure if its possible to reload the vmx when the vm name is unknown.
Reload inaccessible or invalid VM's with this PowerCLI one-liner | Techazine
(Get
-View
-ViewType
VirtualMachine) |?{$_.Runtime.ConnectionState
-eq
"invalid"
-or
$_.Runtime.ConnectionState
-eq
"inaccessible"
} |%{$_.reload()}
The other option is to remove from inventory (AFTER You know the datastore they are listed) and then re-add.
Can you post output of the command you used to get VM ID of inaccessible VMs?
you can seem, the is the unknow(inaccessible) 48,50,51
i dont know how to find their data-store file location
Try this command
esxcli vm process list
As well you can try to restart management agents and see if unavailable vms still exist in inventory
services.sh restart
If you have vmnics configured in LACP than check KB VMware Knowledge Base and try restart hostd and vpxa agents individually.
Hi,
here is the list of vm with running "esxcli vm process list"
A0110PIPCWFM01
A0110PCRMASY02
A0110PIPCESV01
A0110PIPCRPT01
A0110PCRMEML01
A0110PIPCOUT02
A0110PIPCGVP01
this is another command, the different is only extra 1 vm "win2k12r2".
but the three missing still not found, and also restart the services. not help ><