When there are active sessions on the targets discovered by an iSCSI discovery sendtarget address, you see these symptoms:
VMware vSphere ESXi 7.x
This is a known issue affecting VMware ESXi 7.0 Update 1 and later versions.
Currently, there is no resolution.
Workaround:
To work around this issue, remove the active sessions before removing the discovery address.
For removing active session.
esxcli iscsi session list
<iqn> : iqn target name from result in 1
esxcli iscsi session remove --name=<iqn> --adapter=<iscsi_adapter>
--force
flag. This removes the active sessions as well as the discovered targets.