Ad

tommyhilten
asked Oct 27 2017
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

arunkumarak
asked Oct 27 2017
edited Oct 05 2018
ISCSI : how to delete iscsi target in centos
i need to delete the iscsi target which command will work for this .......?