<div dir="ltr"><div dir="ltr"><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt">Hello Everyone,<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt">I am working on a project to fetch “Device Name” from AWS Window NVMe (ENA) instance and Non-NVMe instance.<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt">For 2nd use-case (Non-NVMe Instance), I am using </span><span style="font-size:11pt">IOCTL_SCSI_GET_ADDRESS to fetch SCSI_ADDRESS and its associated TargetID. From this, I am constructing “Device Name” for e.g. “/dev/xbda” using SCSI_ADDRESS.TargetID.</span><span lang="EN-US" style="font-size:11pt"><span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><font color="#000000" face="Calibri, sans-serif"><span style="font-size:11pt">In NVMe environment, when using IOCTL_SCSI_GET_ADDRESS ioctl to fetch TargetID, all disks are returning same TargetID (0). Hence I started exploring things related to NVMe if that has some impact on this. Please let me know if you have some pointers here. Do I need to execute </span><span style="font-size:14.666666984558105px">another IOCTL for this purpose?</span><span style="font-size:11pt"></span></font></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">In the mean time, I came across a project <a href="https://svn.openfabrics.org/svnrepo/nvmewin/releases/IOCTL_Sample_App/" style="color:rgb(149,79,114)">https://svn.openfabrics.org/svnrepo/nvmewin/releases/IOCTL_Sample_App/</a>. This is also the reason I came to know about this group. When I executed this on </span><span lang="EN-US" style="font-size:11pt">AWS Window NVMe (ENA) instance</span><span style="font-size:11pt">, I am getting error “The request could not be performed because of an I/O device error”.<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">----------------------------------------------------------<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">c:\Users\Administrator\Desktop>IOCTL_Sample_Application.exe<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">FindNvmeControllers: Searching Scsi Ports<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Found Controller at \\.\Scsi0:<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Vishal1 The request could not be performed because of an I/O device error.<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">No miniport at this location 0<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Found Controller at \\.\Scsi1:<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Vishal1 The request could not be performed because of an I/O device error.<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">No miniport at this location 1<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Found Controller at \\.\Scsi2:<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Vishal1 The request could not be performed because of an I/O device error.<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">No miniport at this location 2<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Did not find \\.\Scsi3:, err 2<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Did not find \\.\Scsi4:, err 2<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Did not find \\.\Scsi5:, err 2<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">----------------------------------------------------------<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Please suggest how I can get rid of this error. I am not able to find any information related to this online or on msdn website. Hence kind of stuck here.</span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt"><br></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="font-size:11pt">Thanks in advance.</span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt"><span> </span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt">Regards,<span></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:medium;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span lang="EN-US" style="font-size:11pt">Vishal Thakur</span></p></div></div>