View Issue Details

IDProjectCategoryView StatusLast Update
0001274channel: kernel/el9kernel-mlpublic2023-07-02 15:27
ReporterJoshuaPK Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformx86_64OSAlmaLinuxOS Version9
Summary0001274: kernel-ml package may require config change of lvm.conf
DescriptionThis is an informational bug only since I determined how to fix this. Installing kernel-ml on my main laptop (AlmaLinux 9) this morning. Went to reboot it and the boot failed; the LVM device for my /home directory could not be found. When I ran pvscan and lvcan, the specific error was:

Devices file sys_wwid eml.xxxxxxxxxxxxxxxxx PVID xxxxxxxxxxxxxxxxxxxxx no matching physical volume found.

Rebooting back into the previous kernel (normal EL9 5.14 kernel) worked fine. I verified that the devices file under /etc/lvm/devices did, in fact, have the correct GUID. I then queried Google and found the article linked below. There is a setting in /etc/lvm/lvm.conf called use_devicesfile; if you set this to 0 (or just uncomment the commented line with the same setting) then this problem goes away. I verified that solution worked.
Steps To ReproduceOn an AlmaLinux 9 system that uses LVM for at least one of its mounts do the following:

1. Install kernel-ml (at this time it is 6.0.0-1)
2. Reboot
3. Observe that the system drops to an emergency login prompt
4. Login using the root password
5. Run 'pvscan'
6. Observe that pvscan reports an error similar to what is noted above.
Additional InformationI have two logical volumes, one mounted under /home and one mounted under /root. The volume mounted under /root did not have this problem, but the /root LV did not have a corresponding PV in the 'devices' file.
TagsNo tags attached.

Activities

pperry

2022-10-04 08:12

administrator   ~0008682

Thank you for the report, and your workaround.

From reading the lvmdevices manpage, I guess the other solution would have been to add the missing device with lvmdevices --adddev if you did want to use the devices file.

Just wondering / trying to understand why you would see this issue with kernel-ml, but not with your distro kernel.

JoshuaPK

2022-10-04 09:09

reporter   ~0008683

When I have some time later tonight (I'm in EDT timezone) I can look at this and see if there is additional configuration that might need to be done when installing or updating kernel-ml.

Here is the StackOverflow question: https://serverfault.com/questions/1093110/linux-lvm-pvid-last-seen-on

toracat

2023-07-02 15:27

administrator   ~0009252

Closing due to inactivity.

Issue History

Date Modified Username Field Change
2022-10-04 07:08 JoshuaPK New Issue
2022-10-04 07:42 pperry Assigned To => burakkucat
2022-10-04 07:42 pperry Status new => assigned
2022-10-04 08:12 pperry Note Added: 0008682
2022-10-04 09:09 JoshuaPK Note Added: 0008683
2023-07-02 15:27 toracat Status assigned => closed
2023-07-02 15:27 toracat Resolution open => no change required
2023-07-02 15:27 toracat Note Added: 0009252