Bug 2050449
Summary: | In Rhel 9 lvm.conf filters are not used by default and devices holding exported VGs do not show in pvs by default! | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Lance Digby <ldigby> |
Component: | lvm2 | Assignee: | Lance Digby <ldigby> |
lvm2 sub component: | Devices, Filtering and Stacking | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED NOTABUG | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | agk, bubrown, heinzm, jbrassow, jmagrini, jpittman, mgandhi, msnitzer, prajnoha, rmadhuso, teigland, zkabelac |
Version: | 9.0 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-02 04:47:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 5
David Teigland
2022-02-04 17:02:54 UTC
Thanks for the clarification this makes sense. The only suggestion would be to make clear the following errors, they do not help unless you already know about the system.devices file. ***** [root@rhel9 ~]# pvscan --cache /dev/mapper/ldpath04 pvscan[3291] /dev/mapper/ldpath04 excluded by devices file (checking PVID). .. [root@rhel9 ~]# journalctl -b | grep dm-3 Feb 07 13:41:01 rhel9.lddomain lvm[1124]: /dev/dm-3 excluded by devices file (checking PVID). ***** The section excluded by devices file (checking PVID). could be change to excluded by /etc/lvm/devices/system.devices And in /etc/lvm/devices/system.devices after # LVM uses devices listed in this file. add something like # to maintain this file use the lvmdevices or vgimportdevices commands. I realize there can be more device files than /etc/lvm/devices/system.devices but if a CU has these they should understand the process. Have created solution https://access.redhat.com/solutions/6717161 to address this. If new disks are added and are to be used by lvm "pvscan --cache" should be run anyway and this reports the "excluded by devices file (checking PVID)." for the new disks so I think this is covered! closing the bug. |