Re: Can't delete target even if initiator is tunn off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ISCSI CONNECTIONS
       iSCSI connections can be viewed and forced closed at runtime.

   List all active connections for a target
       This command is used to list the all the active iSCSI connections to
       the target with connection id, initiator name and ip address for the
       initiator :

           tgtadm --lld iscsi --op show --mode conn --tid 1
           Session: 2
               Connection: 0
                   Initiator: iqn.2008-11.org.linux-kvm:
                   IP Address: 127.0.0.1

   Close an existing connection
       This command is used to close an iSCSI connection. Note that forcibly
       closing iSCSI connections can lead to data-loss.

           tgtadm --lld iscsi --op delete --mode conn --tid 1 --sid 2 --cid 0

On Tue, May 7, 2013 at 10:59 PM, YOUN-SANG KIM <mistkr@xxxxxxxxx> wrote:
>  #tgtadm --lld iscsi --op delete --mode target --tid=1
> tgtadm: this target is still active
>
>  After 5 miniutes ,reexecute but I got a same result.
>
>
> tgtadm --lld iscsi --op show --mode target
>
> I_T nexus information:
>         I_T nexus: 1
>             Initiator: iqn.2010-04.org.ipxe:1d2e0c80-d7da-11dd-9bfe-08606ed7c008
>              Connection: 0
>                 IP Address: 192.168.1.231
> Is this normal ?
> How can I immediately disconnect non active connection for deleting target ?
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux