Bug 1833778 - Very long boot time because /dev/sda* aren't initialised in udev database
Summary: Very long boot time because /dev/sda* aren't initialised in udev database
Keywords:
Status: CLOSED DUPLICATE of bug 1830896
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-10 14:43 UTC by Oleg Samarin
Modified: 2020-05-12 19:14 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-12 19:14:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journalctl -b result (2.71 MB, text/plain)
2020-05-10 15:11 UTC, Oleg Samarin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1830896 0 unspecified CLOSED Very slow udev after upgrade to fedora 32 2021-05-19 02:52:34 UTC
Red Hat Bugzilla 1833213 0 unspecified CLOSED systemd pauses for 180s on "Wait for Complete Device Initialization" 2021-05-18 17:43:15 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.