In an attempt to setup the iSCSI environment in our lab, I encountered a problem that my iSCSI array could not be recognized by the ESX server. I keep on getting *<span style="font-weight: bold">targets: 0</span>* under Storage Adapter Details. Can anyone give me some hints for the configuration step(s) that I might have missed. See below.
1.<span style="font-style: normal;font-variant: normal;font-weight: normal;line-height: normal;font-size-adjust: none;font-stretch: normal"> </span>I added a VMKernel for the target iSCSI port under* <span style="font-weight: bold">Networking</span>*.
2.<span style="font-style: normal;font-variant: normal;font-weight: normal;line-height: normal;font-size-adjust: none;font-stretch: normal"> </span>Under* <span style="font-weight: bold">Storage Adapters</span>*, I added a SentTarget for the same target port in 1.
3.<span style="font-style: normal;font-variant: normal;font-weight: normal;line-height: normal;font-size-adjust: none;font-stretch: normal"> </span>I have made sure the status for* <span style="font-weight: bold">Software Initiator Properties</span>* is set to Enable.
4.<span style="font-style: normal;font-variant: normal;font-weight: normal;line-height: normal;font-size-adjust: none;font-stretch: normal"> </span>Under<span style="font-weight: bold">Security Profile</span>, I have added port 3260 to the outgoing connections.
5.<span style="font-style: normal;font-variant: normal;font-weight: normal;line-height: normal;font-size-adjust: none;font-stretch: normal"> </span>I have also followed the commands below:
Enabling software iSCSI...
pid file /var/run/vmkiscsid.pid already locked
Software iSCSI is enabled
# esxcfg-firewall -e swISCSIClient
# vmkiscsi-tool -D -a 192.168.140.93 vmhba40
IPAddr 192.168.140.93,Port=0
Doing iSCSI discovery. This can take a few seconds ...
Rescanning vmhba40...done.
On scsi4, removing:.
On scsi4, adding:.
The storage device was recognizable by another server using Microsoft SW initiator. Any idea? Thanks in advance.