iscsi磁盘未显示在/ dev / disk / by-path中

时间:2018-07-12 09:46:51

标签: unix iscsi

Target: iqn.2010-06.com.XXX-a216 (non-flash)
    Current Portal: X.X.X.X:3260,1
    Persistent Portal: X.X.X.X:3260,1
        **********
        Interface:
        **********
        Iface Name: default
        Iface Transport: tcp
        Iface Initiatorname: iqn.1994-05.com.redhat:6da67798e2
        Iface IPaddress: X.X.X.X
        Iface HWaddress: <empty>
        Iface Netdev: <empty>
        SID: 1
        iSCSI Connection State: Unknown
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: Unknown
        *********
        Timeouts:
        *********
        Recovery Timeout: 120
        Target Reset Timeout: 30
        LUN Reset Timeout: 30
        Abort Timeout: 15
        *****
        CHAP:
        *****
        username: <empty>
        password: ********
        username_in: <empty>
        password_in: ********
        ************************
        Negotiated iSCSI params:
        ************************
        HeaderDigest: None
        DataDigest: None
        MaxRecvDataSegmentLength: 262144
        MaxXmitDataSegmentLength: 1048576
        FirstBurstLength: 262144
        MaxBurstLength: 16776192
        ImmediateData: Yes
        InitialR2T: Yes
        MaxOutstandingR2T: 1
        ************************
        Attached SCSI devices:
        ************************
        Host Number: 3  State: running
        scsi3 Channel 00 Id 0 Lun: 0
            Attached scsi disk sdb      State: running
Target: **iqn.2010-06.com.XXX-a215** (non-flash)
    Current Portal: X.X.X.X:3260,1
    Persistent Portal: X.X.X.X:3260,1
        **********
        Interface:
        **********
        Iface Name: default
        Iface Transport: tcp
        Iface Initiatorname: iqn.1994-05.com.redhat:6da67798e2
        Iface IPaddress: 10.15.235.74
        Iface HWaddress: <empty>
        Iface Netdev: <empty>
        SID: 4

但是当我执行ls -lh / dev / disk / by-path时,我找不到与上述目标相对应的设备。

当我进行iscsiadm -m会话-P 3

layoutSubviews()

a216能够显示为sdb,未显示a215,并且当我执行iscsiadm -m session -P 3时有关a215的信息很低。这是什么意思?

0 个答案:

没有答案