After rebooting ESXi 6.5 host (later updated to 6.7), you are unable to scan datastores, and you notice that the iSCSI Software Adapter status is Offline.
- Disable and enable the adapter from CLI and web client.
- Reboot the ESXi.
- Update ESXi 6.5 to ESXi 6.7
The solution is simple, Unbind and bind back the VMK ports from the iSCSI Software Adapter.
- Go to Storage / Adapters / “vmhba64” / Configure iSCSI
- Select VMkernel NIC, and Remove port binding. Then, add the VMkernel NIC again.