Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8338

lvmdevices --deviceidtype sys_serial adds underscores to nvme devices

    • None
    • Low
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      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

      1. LVM uses devices listed in this file.
      2. 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

              lvm-team lvm-team
              cmarthal@redhat.com Corey Marthaler
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: