<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - udev 202 mangles persistent disk/by-path w/ Intel C606 Dual 4-port SAS"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63806">63806</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>udev 202  mangles persistent disk/by-path w/ Intel C606 Dual 4-port SAS
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>me@mooluv.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>by-path persistent device names overlap the 2nd 4-port section of the
controller on top of the first:

pci-0000:03:00.0-sas-0x500304800e246e00-lun-0 -> ../../sdc
pci-0000:03:00.0-sas-0x500304800e246e00-lun-0-part1 -> ../../sdc1
pci-0000:03:00.0-sas-0x500304800e246e01-lun-0 -> ../../sdd
pci-0000:03:00.0-sas-0x500304800e246e01-lun-0-part1 -> ../../sdd1
pci-0000:03:00.0-sas-0x500304800e246e01-lun-0-part2 -> ../../sdg2
pci-0000:03:00.0-sas-0x500304800e246e02-lun-0 -> ../../sde
pci-0000:03:00.0-sas-0x500304800e246e02-lun-0-part1 -> ../../sde1



sd[cde] are on ports 6:0-3 and sd[fg] are on ports 7:0-1 where 6 is the first
half and 7 is the second half of the "dual" hardware config.  Where a link
already exists with a particular name, no new one is created to the 2nd half. 
This is why /dev/sdf is not linked to and why there is an sdg2 but no sdg or
sdg1 (they would be the same as sdd and sdd1).

/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:08.0/0000:03:00.0/host6/port-6:1/end_device-6:1/target6:0:1/6:0:1:0/block/sdd

/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:08.0/0000:03:00.0/host7/port-7:1/end_device-7:1/target7:0:1/7:0:1:0/block/sdg

E: DEVLINKS=/dev/disk/by-id/ata-M4-CT128M4SSD2_00000000113003152D83
/dev/disk/by-id/wwn-0x500a075103152d83
/dev/disk/by-path/pci-0000:03:00.0-sas-0x500304800e246e01-lun-0

E: DEVLINKS=/dev/disk/by-id/ata-WD_WD30EFRX-68AX9N0_WD-WMC1T1636965
/dev/disk/by-id/wwn-0x50014ee0ae28a327
/dev/disk/by-path/pci-0000:03:00.0-sas-0x500304800e246e01-lun-0



Whatever is determining ID_PATH isn't doing it right in this case.  Let me know
what additional information I can provide.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>