Run the command vgimportdevices -a if every drive on the AlmaLinux server is a PV that this system can use. Only the multipath map will be added by vgimportdevices -a if a LUN is multipathed.
Run lvmdevices --adddev [device name] for each device that will be used if just part of the disks contain the PVs this system needs.
lvmdevices --adddev /dev/mapper/mpathc
By default, in a newly installed CentOS 9 or AlmaLinux 9 server LVM2 will use the /etc/lvm/devices/system.devices file to identify which disks are PV’s for this install. The /etc/lvm/lvm.conf filters are ignored. As the imported PV’s are not in this file LVM will not work with them.
If a AlmaLinux 8 system is upgraded to AlmaLinux 9 the /etc/lvm/devices/system.devices file does not exists LVM will run as if use_devicesfile = 0 is set and use the /etc/lvm/lvm.conf filters.
If the /etc/lvm/lvm.conf use_devicesfile parameter is set to 0. The /etc/lvm/devices/system.devices will not be used, and the /etc/lvm/lvm.conf filters are used.