[Bug 1724370] Re: NVME model does not show up
Jeremy Soller
jeremy at system76.com
Tue Oct 17 21:09:25 UTC 2017
Here is the information from an NVME drive. Note that ID_MODEL is
missing:
$ udevadm info /dev/nvme0n1
P: /devices/pci0000:00/0000:00:1d.0/0000:6f:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
S: disk/by-id/nvme-Samsung_SSD_950_PRO_256GB_S2GLNX0H717763V
S: disk/by-id/nvme-eui.0025385761b084ef
S: disk/by-path/pci-0000:6f:00.0-nvme-1
E: DEVLINKS=/dev/disk/by-path/pci-0000:6f:00.0-nvme-1 /dev/disk/by-id/nvme-Samsung_SSD_950_PRO_256GB_S2GLNX0H717763V /dev/disk/by-id/nvme-eui.0025385761b084ef
E: DEVNAME=/dev/nvme0n1
E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/0000:6f:00.0/nvme/nvme0/nvme0n1
E: DEVTYPE=disk
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=713ba820-c08d-478b-bd6c-e589cc8159e3
E: ID_PATH=pci-0000:6f:00.0-nvme-1
E: ID_PATH_TAG=pci-0000_6f_00_0-nvme-1
E: ID_SERIAL=Samsung SSD 950 PRO 256GB_S2GLNX0H717763V
E: ID_SERIAL_SHORT=S2GLNX0H717763V
E: ID_WWN=eui.0025385761b084ef
E: MAJOR=259
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=1212332
** Also affects: udisks2 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
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/1724370
Title:
NVME model does not show up
Status in gnome-disk-utility package in Ubuntu:
Confirmed
Status in systemd package in Ubuntu:
Confirmed
Status in udisks2 package in Ubuntu:
Confirmed
Bug description:
The Model field for NVME drives is blank. I believe this issue comes
from udisks2, and then from udev.
udisks2 has a function for getting the model which returns blank,
udisks_drive_get_model
udev has a parameter that should be returned for a disk if it has a
model, ID_MODEL
The Linux kernel exposes the true model in a sys file,
/sys/block/nvme0n1/device/model
This data should be displayed in GNOME Disks when available, but is
not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1724370/+subscriptions
More information about the foundations-bugs
mailing list