RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2129176 - use_devicesfile setting in lvm.conf should match actual lvmconfig default setting
Summary: use_devicesfile setting in lvm.conf should match actual lvmconfig default set...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.1
Hardware: x86_64
OS: Linux
high
low
Target Milestone: beta
: ---
Assignee: Marian Csontos
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
: 2101455 (view as bug list)
Depends On: 1984111
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-22 19:19 UTC by Corey Marthaler
Modified: 2023-05-09 10:37 UTC (History)
11 users (show)

Fixed In Version: lvm2-2.03.17-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1984111
Environment:
Last Closed: 2023-05-09 08:23:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6234 0 None None None 2022-12-01 17:22:06 UTC
Red Hat Issue Tracker RHELPLAN-134741 0 None None None 2022-09-22 19:29:13 UTC
Red Hat Product Errata RHBA-2023:2544 0 None None None 2023-05-09 08:24:04 UTC

Comment 1 Marian Csontos 2022-11-08 14:52:45 UTC
*** Bug 2101455 has been marked as a duplicate of this bug. ***

Comment 3 Corey Marthaler 2022-11-21 17:38:27 UTC
Marking Verified:Tested in the latest rpms.

kernel-5.14.0-192.kpq1.el9    BUILT: Fri Nov 11 08:34:24 AM CET 2022
lvm2-2.03.17-1.el9    BUILT: Thu Nov 10 05:02:16 PM CET 2022
lvm2-libs-2.03.17-1.el9    BUILT: Thu Nov 10 05:02:16 PM CET 2022



[root@virt-247 ~]# cat /etc/lvm/devices/system.devices 
# LVM uses devices listed in this file.
# Created by LVM command lvmdevices pid 2601 at Fri Nov 18 20:23:03 2022
VERSION=1.1.4
IDTYPE=devname IDNAME=/dev/vda2 DEVNAME=/dev/vda2 PVID=QetfsHKYLWCpW08pOvz62li8AsFzYTa0 PART=2

[root@virt-247 ~]#  lvmconfig --type default | grep use_devicesfile
        # use_devicesfile=1
[root@virt-247 ~]#  grep use_devicesfile /etc/lvm/lvm.conf 
        # Configuration option devices/use_devicesfile.
        # use_devicesfile = 1

[root@virt-247 ~]# pvcreate /dev/sd[ab]
  Physical volume "/dev/sda" successfully created.
  Physical volume "/dev/sdb" successfully created.

[root@virt-247 ~]# cat /etc/lvm/devices/system.devices 
# LVM uses devices listed in this file.
# Created by LVM command pvcreate pid 244984 at Mon Nov 21 18:36:35 2022
VERSION=1.1.5
IDTYPE=devname IDNAME=/dev/vda2 DEVNAME=/dev/vda2 PVID=QetfsHKYLWCpW08pOvz62li8AsFzYTa0 PART=2
IDTYPE=sys_wwid IDNAME=naa.6001405990209ec728a42cba12656219 DEVNAME=/dev/sda PVID=SiuQd3p02sURNXNS8ZVw55HCzqr6j8Pf
IDTYPE=sys_wwid IDNAME=naa.600140570d6c49be80c4928bfd5823d7 DEVNAME=/dev/sdb PVID=AyKeF7b6mWqVKv6ZC39VKHPxq7zVEzO5

Comment 7 Corey Marthaler 2022-12-19 17:44:51 UTC
Verified in the latest rpms as well.

[root@hayes-02 ~]# lvmconfig --type default | grep use_devicesfile
        # use_devicesfile=1
[root@hayes-02 ~]# grep use_devicesfile /etc/lvm/lvm.conf 
        # Configuration option devices/use_devicesfile.
        # use_devicesfile = 1

kernel-5.14.0-201.kpq1.el9    BUILT: Wed Nov 23 07:13:08 AM CST 2022
lvm2-2.03.17-3.el9    BUILT: Wed Dec  7 10:41:40 AM CST 2022
lvm2-libs-2.03.17-3.el9    BUILT: Wed Dec  7 10:41:40 AM CST 2022

Comment 9 errata-xmlrpc 2023-05-09 08:23:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (lvm2 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2544


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