[Bug 1742787] [NEW] Recognize NVMe devices

dann frazier dann.frazier at canonical.com
Thu Jan 11 20:01:39 UTC 2018


Public bug reported:

[Impact]
parted reports NVMe devices as "Unknown", which propagates up to d-i:

  ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
  │ │
  │ Note that all data on the disk you select will be erased, but not │
  │ before you have confirmed that you really want to make the changes. │
  │ │
  │ Select disk to partition: │
  │ │
  │ /dev/nvme0n1 - 450.1 GB Unknown │
  │ SCSI1 (0,0,0) (sdi) - 240.1 GB ATA INTEL SSDSC2BB24 │
  │ SCSI3 (0,0,0) (sdj) - 800.2 GB ATA SDLFOCAM-800G-1H │
  │ │
  │ <Go Back> │
  │ │
  └─────────────────────────────────────────────────────────────────────────┘

[Test Case]
Current:
$ sudo parted -s /dev/nvme0n1 p
Model: Unknown
Disk /dev/nvme0n1: 512GB
[...]

Expected:
$ sudo parted -s /dev/nvme0n1 p
Model: NVMe Device (nvme)
Disk /dev/nvme0n1: 512GB
[...]

[Regression Risk]
There maybe user code out there relying on the existing "Unknown" output.

** Affects: parted (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Zesty)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Artful)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: parted (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #886960
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886960

** Also affects: parted (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886960
   Importance: Unknown
       Status: Unknown

** Also affects: parted (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: parted (Ubuntu Xenial)
   Importance: Undecided
       Status: New

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

** Also affects: parted (Ubuntu Artful)
   Importance: Undecided
       Status: New

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

Title:
  Recognize NVMe devices

Status in parted package in Ubuntu:
  New
Status in parted source package in Xenial:
  New
Status in parted source package in Zesty:
  New
Status in parted source package in Artful:
  New
Status in parted source package in Bionic:
  New
Status in parted package in Debian:
  Unknown

Bug description:
  [Impact]
  parted reports NVMe devices as "Unknown", which propagates up to d-i:

    ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
    │ │
    │ Note that all data on the disk you select will be erased, but not │
    │ before you have confirmed that you really want to make the changes. │
    │ │
    │ Select disk to partition: │
    │ │
    │ /dev/nvme0n1 - 450.1 GB Unknown │
    │ SCSI1 (0,0,0) (sdi) - 240.1 GB ATA INTEL SSDSC2BB24 │
    │ SCSI3 (0,0,0) (sdj) - 800.2 GB ATA SDLFOCAM-800G-1H │
    │ │
    │ <Go Back> │
    │ │
    └─────────────────────────────────────────────────────────────────────────┘

  [Test Case]
  Current:
  $ sudo parted -s /dev/nvme0n1 p
  Model: Unknown
  Disk /dev/nvme0n1: 512GB
  [...]

  Expected:
  $ sudo parted -s /dev/nvme0n1 p
  Model: NVMe Device (nvme)
  Disk /dev/nvme0n1: 512GB
  [...]

  [Regression Risk]
  There maybe user code out there relying on the existing "Unknown" output.

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



More information about the foundations-bugs mailing list