Bug 1833778

Summary: Very long boot time because /dev/sda* aren't initialised in udev database
Product: [Fedora] Fedora Reporter: Oleg Samarin <osamarin68>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 32CC: kay, lnykryn, lpoetter, msekleta, ssahani, s, systemd-maint, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-12 19:14:59 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:
Attachments:
Description Flags
journalctl -b result none

Description Oleg Samarin 2020-05-10 14:43:56 UTC
Description of problem:

After installing Fedora 32 on my notebook, it boots up a lot of time: more than 10 minutes. After booting most of filesystems are not mounted.

The main reason: lvm can not expose logical volumes because /dev/sd* devices are not initialised in the udev database

Fedora 31 installed on the same notebook to a different lvm partitions boots up quickly

Version-Release number of selected component (if applicable):

kernel 5.6.10-300.fc32.x86_64
systemd-udev-245.4-1.fc32.x86_64
lvm2-2.03.09-1.fc32.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Install Fedora32 with LVM partitioning scheme. Make /var on a separate logical volume.
2. Reboot

Actual results:
Booting stucks on waiting for /dev/mapper/* device existance. Most of waiting finishes with timeout, so their filesystems are not mounted.


Expected results:
Quick booting with mounting all filesystems


Additional info:
I enabled debugging udev and collected a system journal. It contains the following lines with 5 minutes between:

мая 10 17:03:37 oleg-note2.oleghome lvm[665]:   WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds.
...
мая 10 17:08:55 oleg-note2.oleghome systemd-udevd[681]: sda: /usr/lib/udev/rules.d/60-persistent-storage.rules:54 Importing properties from results of 'ata_id --export /dev/sda'

Comment 1 Oleg Samarin 2020-05-10 15:11:21 UTC
Created attachment 1687024 [details]
journalctl -b result

Comment 2 Oleg Samarin 2020-05-12 19:13:51 UTC
The patches proposed for 1830896 solve the problem of long boot of Fedora32

Comment 3 Oleg Samarin 2020-05-12 19:14:59 UTC

*** This bug has been marked as a duplicate of bug 1830896 ***