[Bug 1742787] Re: Recognize NVMe devices
dann frazier
dann.frazier at canonical.com
Tue Jan 16 16:46:43 UTC 2018
artful verification:
ubuntu at d05-6:~$ sudo parted -s /dev/nvme0n1 p
Error: /dev/nvme0n1: unrecognised disk label
Model: Unknown (unknown)
Disk /dev/nvme0n1: 1600GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
ubuntu at d05-6:~$ sudo apt install parted
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libparted2
Suggested packages:
libparted-dev libparted-i18n parted-doc
The following packages will be upgraded:
libparted2 parted
2 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Need to get 142 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports artful-proposed/main arm64 parted arm64 3.2-18ubuntu0.1 [37.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports artful-proposed/main arm64 libparted2 arm64 3.2-18ubuntu0.1 [104 kB]
Fetched 142 kB in 0s (434 kB/s)
(Reading database ... 67864 files and directories currently installed.)
Preparing to unpack .../parted_3.2-18ubuntu0.1_arm64.deb ...
Unpacking parted (3.2-18ubuntu0.1) over (3.2-18) ...
Preparing to unpack .../libparted2_3.2-18ubuntu0.1_arm64.deb ...
Unpacking libparted2:arm64 (3.2-18ubuntu0.1) over (3.2-18) ...
Setting up libparted2:arm64 (3.2-18ubuntu0.1) ...
Setting up parted (3.2-18ubuntu0.1) ...
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Processing triggers for man-db (2.7.6.1-2) ...
ubuntu at d05-6:~$ sudo parted -s /dev/nvme0n1 p
Error: /dev/nvme0n1: unrecognised disk label
Model: NVMe Device (nvme)
Disk /dev/nvme0n1: 1600GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
** Tags removed: verification-needed verification-needed-artful
** Tags added: verification-done verification-done-artful
--
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:
In Progress
Status in parted source package in Xenial:
Fix Committed
Status in parted source package in Zesty:
Won't Fix
Status in parted source package in Artful:
Fix Committed
Status in parted source package in Bionic:
In Progress
Status in parted package in Debian:
New
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> │
│ │
└─────────────────────────────────────────────────────────────────────────┘
While d-i works fine with this device as-is, the "Unknown" string is a
source of consternation with some users who aren't sure if NVMe is
supported.
[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