Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Marking Verfied:Tested in the latest rpms.
kernel-5.14.0-21.el9 BUILT: Thu Nov 25 08:34:34 PM CST 2021
lvm2-2.03.14-2.el9 BUILT: Thu Nov 18 11:39:23 AM CST 2021
lvm2-libs-2.03.14-2.el9 BUILT: Thu Nov 18 11:39:23 AM CST 2021
The setting is still listed as commented out and 0, but this feature is now on by default in the latest build.
[root@hayes-03 ~]# grep use_devicesfile /etc/lvm/lvm.conf
# Configuration option devices/use_devicesfile.
# use_devicesfile = 0
[root@hayes-03 ~]# pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created.
Creating devices file /etc/lvm/devices/system.devices
[root@hayes-03 ~]# cat /etc/lvm/devices/system.devices
# LVM uses devices listed in this file.
# Created by LVM command pvcreate pid 2089 at Wed Dec 1 13:59:07 2021
VERSION=1.1.1
IDTYPE=sys_wwid IDNAME=naa.6d09466083d8e100233c17f0209a73b5 DEVNAME=/dev/sdb1 PVID=l5qa1evfSa1mJ5xEA4kyydpdk8AgHlkK PART=1
lvm.conf needs to be fixed, perhaps it's a result of trying to change the default value using a configuration option? Using configure for this really seems unnecessarily complicated. Just put DEFAULT_USE_DEVICES_FILE back in defaults.h and use patch to change 0 or 1.
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 (new packages: lvm2), 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-2022:3972
Description of problem: Fresh reimage to rhel9.0... kernel-5.14.0-10.el9 BUILT: Tue Oct 26 07:00:13 PM CDT 2021 lvm2-2.03.14-1.el9 BUILT: Wed Oct 20 11:22:27 AM CDT 2021 lvm2-libs-2.03.14-1.el9 BUILT: Wed Oct 20 11:22:27 AM CDT 2021 [root@hayes-03 ~]# pvcreate /dev/sdb1 Physical volume "/dev/sdb1" successfully created. [root@hayes-03 ~]# cat /etc/lvm/devices/system.devices cat: /etc/lvm/devices/system.devices: No such file or directory [root@hayes-03 ~]# grep use_devices /etc/lvm/lvm.conf # Configuration option devices/use_devicesfile. # use_devicesfile = 0