This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1950793
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Tags added: focal
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1950793
Title:
util-linux/lsblk reports WWN as SERIAL in focal
Status in linux package in Ubuntu:
Incomplete
Bug description:
I've come across the problem that lsblk treats the WWN as SN.
~# lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
~# apt-cache policy util-linux
util-linux:
Installed: 2.34-0.1ubuntu9.1
Candidate: 2.34-0.1ubuntu9.1
Version table:
*** 2.34-0.1ubuntu9.1 500
500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64
Packages
100 /var/lib/dpkg/status
2.34-0.1ubuntu9 500
500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
What I expected to happen:
Show the disks serial when using the SERIAL output
What happened instead:
The WWN is printed instead. This does not happen with every disk.
how to reproduce:
~# lsblk -dn -o WWN /dev/sdb
0x5000039ad8d2cd39
~# lsblk -dn -o SERIAL /dev/sdb
5000039ad8d2cd39
smartctl show the correct serial
~# smartctl -a /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-89-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba MG06ACA... Enterprise Capacity HDD
Device Model: TOSHIBA MG06ACA800E
Serial Number: 41P0A0SHFKRE
LU WWN Device Id: 5 000039 ad8d2cd39
<... snip ...>
A disks where it works:
~# lsblk -dn -o SERIAL /dev/sdn
SMC0515D93017CH75029
~# lsblk -dn -o WWN /dev/sdn
0x515d93017c000029
~# smartctl -a /dev/sdn
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-89-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Silicon Motion based OEM SSDs
Device Model: SuperMicro SSD
Serial Number: SMC0515D93017CH75029
LU WWN Device Id: 5 15d930 17c000029
<... snip ...>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950793/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp