Bug 2209370 - lvmdevices --deviceidtype sys_serial adds underscores to nvme devices
Summary: lvmdevices --deviceidtype sys_serial adds underscores to nvme devices
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: LVM Team
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-23 16:26 UTC by Corey Marthaler
Modified: 2023-08-10 15:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-157959 0 None None None 2023-05-23 16:27:27 UTC

Description Corey Marthaler 2023-05-23 16:26:29 UTC
Description of problem:

[root@grant-02 ~]#  cat /sys/dev/block/259:0/device/serial
PHAB134503ZW3P8EGN  

[root@grant-02 ~]# lvmdevices --deviceidtype sys_serial --adddev /dev/nvme0n1p1

[root@grant-02 ~]# cat /etc/lvm/devices/system.devices
# LVM uses devices listed in this file.
# Created by LVM command lvmdevices pid 1738544 at Tue May 23 18:25:17 2023
SYSTEMID=grant-02.6a2m.lab.eng.bos.redhat.com
VERSION=1.1.5036
IDTYPE=sys_serial IDNAME=PHAB134503ZW3P8EGN__ DEVNAME=/dev/nvme0n1p1 PVID=. PART=1


Version-Release number of selected component (if applicable):
kernel-5.14.0-305.el9    BUILT: Thu Apr 27 03:00:24 PM CEST 2023
lvm2-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023
lvm2-libs-2.03.21-1.el9    BUILT: Fri Apr 21 02:33:33 PM CEST 2023


Note You need to log in before you can comment on or make changes to this bug.