open-iscsi / targetcli-fb

Command shell for managing Linux LIO kernel target
Apache License 2.0
103 stars 69 forks source link

TPG enable after disabling it on iscsi target does not allow initiator to perform read/writes on the iscsi disks #116

Open linonymous opened 6 years ago

linonymous commented 6 years ago

Following is the scenario.

2) iSCSI Initiator machine: [root@sprip4_01 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo) [root@sprip4_01 ~]#rpm -qa | grep iscsi iscsi-initiator-utils-iscsiuio-6.2.0.874-7.el7.x86_64 iscsi-initiator-utils-6.2.0.874-7.el7.x86_64

Could you please tell why is it that case? and why does it happen?

linonymous commented 6 years ago

While disabling the TPG I am removing the disk where LUNs are stored, and reattach it when it comes online. @pkalever @agrover does this affects the targetcli configuration? what is the flow?