Public bug reported:

[Impact]
One example of where this causes a problem is the /dev/disk/by-path symlink. 
Multiple SATA disks on the same controller may have the same symlink, making it 
useless as a unique identifier.

[Test Case]
On a D05 system w/ SATA disks attached to the onboard SAS controller:
$ cat /sys/class/sas_phy/*/sas_address
And look for non-unique addresses.

[Fix]
Addressed upstream by incorporating the scsi host's ID into the generated fake 
SAS address.

[Regression Risk]
Limited to the hisi_sas driver's v2 backend. The only Ubuntu system this driver 
supports is the HiSilicon D05, where we can directly test.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: dann frazier (dannf)
         Status: In Progress

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
     Assignee: dann frazier (dannf)
         Status: In Progress

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: linux (Ubuntu Bionic)
     Assignee: (unassigned) => dann frazier (dannf)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1776750

Title:
  Fake SAS addresses for SATA disks on HiSilicon D05 are non-unique

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1776750/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to