Hi,
The setup is as follows: Using ESX 3.5 a Virtual Machine has been created on a the VMFS data store and takes up most of the disk space on the VMFS. An iSCSI target has been created on this Virtual Machine. The ESX iSCSI initiator was setup pointing to the iSCSI target on the Virtual Machine. A new VM was created on the iSCSI target.
When the ESX host machine is rebooted the iSCSI Target Virtual Machine boots up but the Virtual Machine installed on the iSCSI target does not appear in VI Client. Instead it is marked by the label 'Unknown (inaccessible)'. This makes sence because the Virtual Machine holding the iSCSI target, and therefore the Virtual Machine on the iSCSI target, cannot be referenced at boot up.
By rescanning the Storage Adapters in VI Client, the Virtual Machine installed on the iSCSI Target virtual machine magically appears and can be started as normal. My question is how can this rescan be done from the command line. I have tried the esxcfg-rescan command but believe the 'rescan' link in VI Client does a lot more than is immediately obvious.
Thanks.