To reconnect an iSCSI array to an ESX host:
-
Edit /etc/vmkiscsi.conf to add a carriage return after the final line of the file (this should be the discovery target).
-
Disable and re-enable the Software iSCSI initiator:
-
Disable using the command:
esxcfg-swiscsi -d
-
Enable using the command:
esxcfg-swiscsi -e
-
Verify the initiator is running using the command:
esxcfg-swiscsi -q
-
Scan for new targets using the command:
esxcfg-swiscsi -s
-
Open the VMware Infrastructure Client and rescan SAN by clicking Configuration > Storage Adapters > Rescan SAN.
Note: These symptoms may also be seen in cases where the connected initiators list (as displayed in the array management software) differs very slightly from the LUN masking (also called permission granted) list of initiators. Ensure that you carefully check these against one another, completely, including the typical 8-hex digit suffix on the initiator name.