LVM 'system.devices' file is renamed after setting 'use_devicesfile = 0' in /etc/lvm/lvm.conf
Issue
- After disabling the
use_devicesfilesetting by addinguse_devicesfile = 0to/etc/lvm/lvm.conf, the/etc/lvm/devices/system.devicesfile is automatically renamed to/etc/lvm/devices/system.devices-unused.<YYYYMMDD>.<HHMMSS>. The renamed file is no longer used by LVM even ifuse_devicesfileis re-enabled, and must be manually renamed or regenerated in order for LVM to use the devices file again.
Environment
- Red Hat Enterprise Linux 9.5+
- LVM2 version 2.03.24-1.el9 and later
use_devicesfile = 0has previously been set in/etc/lvm/lvm.conf
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.