Unable to discover iscsi LUN on Oracle Linux host
Applies to
- ONTAP 9
- Oracle Linux 8.10
Issue
- Unable to get the ISCSI LUNs to discover non-disruptively on the Oracle Linux host without issuing the logout and login command.
- When attempting to discover ISCSI LUNs on an Oracle Linux host using the command
sudo iscsiadm --mode discovery --op update --type sendtargets --portal 172b.xx.xx.x
the LUNs are not discovered as expected. - It is required to manually logout and login to the target using below commands for the LUNs to be discovered successfully.
#sudo iscsiadm --mode node -T iqn.xxxx-00.com.netapp:sn.0f087b2fb2a411efbxxxxxxxxxxxxxxx:vs.11 --logout
#sudo iscsiadm --mode node -T iqn.xxxx-00.com.netapp:sn.0f087b2fb2a411efbxxxxxxxxxxxxxxx:vs.11 --login