Ask Your Question

Revision history [back]

Using answer field as comment ( due to formatting )

Yes it works for me

Logout

[root@juno2 ~]# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248 -u
Logging out of session [sid: 1, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260]
Logout of [sid: 1, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260] successful.

Login

[root@juno2 ~]# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248 --login
Logging in to [iface: default, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260] (multiple)
Login to [iface: default, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260] successful.

[root@juno2 ~]# iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 6.2.0.873-21
Target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248 (non-flash)
    Current Portal: 192.168.1.127:3260,1
    Persistent Portal: 192.168.1.127:3260,1
        **********
        Interface:
        **********
        Iface Name: default
        Iface Transport: tcp
        Iface Initiatorname: iqn.1994-05.com.redhat:a1397064754e
        Iface IPaddress: 192.168.1.137
        Iface HWaddress: <empty>
        Iface Netdev: <empty>
        SID: 2
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE
        *********
        Timeouts:
        *********
        Recovery Timeout: 120
        Target Reset Timeout: 30
        LUN Reset Timeout: 30
        Abort Timeout: 15
        *****
        CHAP:
        *****
        username: bBz4jyEn9ACr2RpnFEpq
        password: ********
        username_in: <empty>
        password_in: ********
        ************************
        Negotiated iSCSI params:
        ************************
        HeaderDigest: None
        DataDigest: None
        MaxRecvDataSegmentLength: 262144
        MaxXmitDataSegmentLength: 262144
        FirstBurstLength: 65536
        MaxBurstLength: 262144
        ImmediateData: Yes
        InitialR2T: Yes
        MaxOutstandingR2T: 1
        ************************
        Attached SCSI devices:
        ************************
        Host Number: 11 State: running
        scsi11 Channel 00 Id 0 Lun: 0
        Attached scsi disk sdc      State: running

Using answer field as comment ( due to formatting )

Yes it works for me

Logout

[root@juno2 ~]# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248 -u
Logging out of session [sid: 1, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260]
Logout of [sid: 1, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260] successful.

Login

[root@juno2 ~]# iscsiadm -m node -T iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248 --login
Logging in to [iface: default, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260] (multiple)
Login to [iface: default, target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248, portal: 192.168.1.127,3260] successful.

[root@juno2 ~]# iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 6.2.0.873-21
Target: iqn.2010-10.org.openstack:volume-ab6050b3-b0aa-4335-828b-df1f11bee248 (non-flash)
    Current Portal: 192.168.1.127:3260,1
    Persistent Portal: 192.168.1.127:3260,1
        **********
        Interface:
        **********
        Iface Name: default
        Iface Transport: tcp
        Iface Initiatorname: iqn.1994-05.com.redhat:a1397064754e
        Iface IPaddress: 192.168.1.137
        Iface HWaddress: <empty>
        Iface Netdev: <empty>
        SID: 2
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE
        *********
        Timeouts:
        *********
        Recovery Timeout: 120
        Target Reset Timeout: 30
        LUN Reset Timeout: 30
        Abort Timeout: 15
        *****
        CHAP:
        *****
        username: bBz4jyEn9ACr2RpnFEpq
        password: ********
        username_in: <empty>
        password_in: ********
        ************************
        Negotiated iSCSI params:
        ************************
        HeaderDigest: None
        DataDigest: None
        MaxRecvDataSegmentLength: 262144
        MaxXmitDataSegmentLength: 262144
        FirstBurstLength: 65536
        MaxBurstLength: 262144
        ImmediateData: Yes
        InitialR2T: Yes
        MaxOutstandingR2T: 1
        ************************
        Attached SCSI devices:
        ************************
        Host Number: 11 State: running
        scsi11 Channel 00 Id 0 Lun: 0
        Attached scsi disk sdc      State: running

image description