Unable to see/access the datastore after upgrading the ESXi.
Confirmed there was a change in IQN name post upgrade of ESXi from 8.0U2 to 8.0U3.
Confirm that the host profile is set to the right IQN name or that this ESXI server has no host profile configured.
Verify the IQN name set as per the RFC32720 on the Cisco UCS manager.
Run command on the ESXi host to check the IQN name : esxcli iscsi adapter get -A vmhba##
Before upgrading the ESXi server:
example: esxcli iscsi adapter get -A vmhba64vmhba64 Name: iqn.1998-08.com.example:esxi:19 Alias: iscsi_vmk Vendor: VMware Model: iSCSI Software Adapter Description: iSCSI Software Adapter
Post upgrade the ESXi server:
example: esxcli iscsi adapter get -A vmhba64vmhba64 Name: iqn.1998-01.com.vmware:esxi_FQDN.com:##########:## Alias: iscsi_vmk Vendor: VMware Model: iSCSI Software Adapter Description: iSCSI Software Adapter
VMware vSphere ESXi 8.x
To fetch the IQN name before the upgrade / also confiim the same from storage array.
esxcli iscsi adapter get -A vmhba##
To set IQN name manually, run the following command on the ESXi host:
esxcli iscsi adapter set -A vmhba## -n <iqn_name>
Example : esxcli iscsi adapter set -A vmhba67 -n iqn.1998-08.com.example:esxi:19