iscsi Disk not showing up in /dev/disk/by-path

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I was able to successfully log into an ISCSI target by command

command:sudo iscsiadm --mode node --targetname iqn.2010-06.com.XXXX-a215 --portal 10.X.X.X:3260, 1 --login
output: Logging in to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] (multiple)
Login to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] successful.


But when I perform ls -lh /dev/disk/by-path I am not able to find a device corresponding to the above-added target.



when I do iscsiadm -m session -P 3



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


a216 is able to show as sdb,a215 is not shown and the information about a215 when I did iscsiadm -m session -P 3 is pretty low.what does this mean?







share|improve this question























    up vote
    0
    down vote

    favorite












    I was able to successfully log into an ISCSI target by command

    command:sudo iscsiadm --mode node --targetname iqn.2010-06.com.XXXX-a215 --portal 10.X.X.X:3260, 1 --login
    output: Logging in to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] (multiple)
    Login to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] successful.


    But when I perform ls -lh /dev/disk/by-path I am not able to find a device corresponding to the above-added target.



    when I do iscsiadm -m session -P 3



    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


    a216 is able to show as sdb,a215 is not shown and the information about a215 when I did iscsiadm -m session -P 3 is pretty low.what does this mean?







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I was able to successfully log into an ISCSI target by command

      command:sudo iscsiadm --mode node --targetname iqn.2010-06.com.XXXX-a215 --portal 10.X.X.X:3260, 1 --login
      output: Logging in to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] (multiple)
      Login to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] successful.


      But when I perform ls -lh /dev/disk/by-path I am not able to find a device corresponding to the above-added target.



      when I do iscsiadm -m session -P 3



      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


      a216 is able to show as sdb,a215 is not shown and the information about a215 when I did iscsiadm -m session -P 3 is pretty low.what does this mean?







      share|improve this question











      I was able to successfully log into an ISCSI target by command

      command:sudo iscsiadm --mode node --targetname iqn.2010-06.com.XXXX-a215 --portal 10.X.X.X:3260, 1 --login
      output: Logging in to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] (multiple)
      Login to [iface: default, target:iqn.2010-06.com.XXXX-a215, portal: 10.X.X.X,3260] successful.


      But when I perform ls -lh /dev/disk/by-path I am not able to find a device corresponding to the above-added target.



      when I do iscsiadm -m session -P 3



      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


      a216 is able to show as sdb,a215 is not shown and the information about a215 when I did iscsiadm -m session -P 3 is pretty low.what does this mean?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jul 12 at 17:06









      Vishnu Kamavaram

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454944%2fiscsi-disk-not-showing-up-in-dev-disk-by-path%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454944%2fiscsi-disk-not-showing-up-in-dev-disk-by-path%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          The Forum (Inglewood, California)

          Palaiologos