1 Answer
first logout the target session.
iscsiadm --mode node --targetname iqn.2017-11.com.linuxhelp.server1:sys1 --portal 192.168.7.206:3260 --logout
now remove the target
iscsiadm -m node -o delete -T iqn.2017-11.com.linuxhelp.server1:sys1 --portal 192.168.7.206:3260
check the the target session is avilable.
# iscsiadm --mode node --targetname iqn.2017-11.com.linuxhelp.server1:sys1 --portal 192.168.7.206:3260 --login
iscsiadm: No records found
Your Answer
x