[Bug 1642903] Re: introduce disk/by-id (model_serial) symlinks for NVMe drives

Dan Streetman dan.streetman+launchpad at canonical.com
Mon Jan 9 17:12:09 UTC 2017


** Description changed:

  [Impact]
  
  NVMe drives can't be identified/accessed via /dev/disk/by-id/nvme-SERIAL
  symlinks.
  
  [Test Case]
  
  On a system with an NVMe drive, check the /dev/disk/by-id/ directory;
  with the patch, it will contain link(s) named by the drive serial
  number. This should be the *only* change in `ls -l /dev/disk/*/*`.
  
  On a system without NVMe, verify that `ls -l /dev/disk/*/*` is identical
  (aside from dates, of course) before and after the upgrade to the
  -proposed version.
  
  [Regression Potential]
  
  Errors in udev rules can lead to an unbootable or otherwise completely
  broken system if they unintentionally break or  clobber existing
  /dev/disks/ symlinks.
  
  [Other Info]
  
  This patch is already included upstream and in zesty systemd.
  
  Related bugs:
-  * bug 1647485: NVMe symlinks broken by devices with spaces in model or serial strings 
-  * bug 1651602: NVMe driver regression for non-smp/1-cpu systems
+  * bug 1647485: NVMe symlinks broken by devices with spaces in model or serial strings
+  * bug 1651602: NVMe driver regression for non-smp/1-cpu systems
+  * bug 1649635: export nvme drive model/serial strings via sysfs (trusty)

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

Title:
  introduce disk/by-id (model_serial) symlinks for NVMe drives

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Trusty:
  Fix Committed
Status in systemd source package in Xenial:
  Fix Released
Status in systemd source package in Yakkety:
  Fix Released
Status in systemd source package in Zesty:
  Fix Released

Bug description:
  [Impact]

  NVMe drives can't be identified/accessed via /dev/disk/by-id/nvme-
  SERIAL symlinks.

  [Test Case]

  On a system with an NVMe drive, check the /dev/disk/by-id/ directory;
  with the patch, it will contain link(s) named by the drive serial
  number. This should be the *only* change in `ls -l /dev/disk/*/*`.

  On a system without NVMe, verify that `ls -l /dev/disk/*/*` is
  identical (aside from dates, of course) before and after the upgrade
  to the -proposed version.

  [Regression Potential]

  Errors in udev rules can lead to an unbootable or otherwise completely
  broken system if they unintentionally break or  clobber existing
  /dev/disks/ symlinks.

  [Other Info]

  This patch is already included upstream and in zesty systemd.

  Related bugs:
   * bug 1647485: NVMe symlinks broken by devices with spaces in model or serial strings
   * bug 1651602: NVMe driver regression for non-smp/1-cpu systems
   * bug 1649635: export nvme drive model/serial strings via sysfs (trusty)

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



More information about the foundations-bugs mailing list