[Parted-maintainers] Bug#886960: Recognize NVMe devices

dann frazier dannf at debian.org
Thu Jan 11 19:34:20 UTC 2018


Package: parted
Version: 3.2-18
Severity: normal
Tags: d-i, patch

parted currently reports NVMe devices as "unknown":

$ sudo parted -s /dev/nvme0n1 p
Model: Unknown (unknown)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  538MB  537MB  fat32              boot, esp
 2      538MB   794MB  256MB  ext2
 3      794MB   512GB  511GB

This has been fixed in the following upstream commit:
  e4ae4330 Add support for NVMe devices


Cherry-picking this on top of Debian's version (which applies cleanly
after dropping the NEWS hunk) provides the correct output:


$ sudo parted -s /dev/nvme0n1 p
Model: NVMe Device (nvme)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  538MB  537MB  fat32              boot, esp
 2      538MB   794MB  256MB  ext2
 3      794MB   512GB  511GB

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages parted depends on:
ii  libc6         2.26-2
ii  libparted2    3.2-18
ii  libreadline7  7.0-3
ii  libtinfo5     6.0+20171125-1

parted recommends no packages.

Versions of packages parted suggests:
pn  parted-doc  <none>

-- no debconf information



More information about the Parted-maintainers mailing list