Hello,

After unmount iSCSI directory, I was trying to stop tgtd services but I
couldn’t.

Looks like, It has network connection between iSCSI target and initiator
still. 

How can I get rid of nexus?

 

[EMAIL PROTECTED] ~]#  tgtadm --lld iscsi --op unbind --mode target --tid 2  -I 
10.
1.1.0/24

[EMAIL PROTECTED] ~]# service tgtd stop

Stopping SCSI target daemon: Targets still in use. Cannot shutdown service.

[EMAIL PROTECTED] ~]#  tgtadm --lld iscsi --op delete --mode target --tid 2 

tgtadm: this target unit is still active

 [EMAIL PROTECTED] ~]#  tgtadm --lld iscsi --op show --mode target         

Target 2: iqn.20080414.com:iser-sdb

    System information:

        Driver: iscsi

        Status: running

    I_T nexus information:

        I_T nexus: 1

            Initiator: iqn.2005-03.com.redhat:01.27726fc766b

            Connection: 0

                RDMA IP Address: 10.1.1.141

        I_T nexus: 2

            Initiator: iqn.2005-03.com.redhat:01.27726fc766b

            Connection: 0

                RDMA IP Address: 10.1.1.141

        I_T nexus: 3

            Initiator: iqn.2005-03.com.redhat:01.27726fc766b

            Connection: 0

                RDMA IP Address: 10.1.1.141

        I_T nexus: 4

            Initiator: iqn.2005-03.com.redhat:01.27726fc766b

            Connection: 0

                RDMA IP Address: 10.1.1.141

    LUN information:

        LUN: 0

            Type: controller

            SCSI ID: deadbeaf2:0

            SCSI SN: beaf20

            Size: 0

            Online: No

            Poweron/Reset: Yes

            Removable media: No

            Backing store: No backing store

        LUN: 2

            Type: disk

            SCSI ID: deadbeaf2:2

            SCSI SN: beaf22

            Size: 186G

            Online: Yes

            Poweron/Reset: No

            Removable media: No

            Backing store: /dev/sdb1

    Account information:

    ACL information:

[EMAIL PROTECTED] ~]# 

 

[EMAIL PROTECTED] ~]# /var/log/messages

Apr 17 11:45:26 OSS6 tgtd: tgt_target_destroy(1398) target 2 still has it
nexus

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to