30 seconds boot delay when usr fs is on lvm

Bug #1853203 reported by Fabien SK
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)

Bug Description

A bit similar to "30 seconds boot delay when root fs is on lvm":

I installed Kubuntu 19.04 with 2 LVM volume groups (one per disk). My root and my /usr are both located on the same LVM. Mounting /usr takes 30s, but if I move the /usr to a non-LVM partition then the mounting takes no time and the whole boot process is very fast.
In the script "scripts/local" of initramfs-tools, there is a 30s timeout called "slumber" passed to the "wait-for-root" program (from initramfs-tools-bin), and the wait comes from there (I could see it by adding traces before and after). If I decrease the timeout to 10s, the system can still boot correctly (and 20s faster).

I don't know if the problem comes from the initramfs-tools scripts, from wait-for-root or from the integration in (K)Ubuntu.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: initramfs-tools-core 0.131ubuntu19.2 [modified: usr/share/initramfs-tools/scripts/local]
ProcVersionSignature: Ubuntu 5.0.0-36.39-generic 5.0.21
Uname: Linux 5.0.0-36-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.3
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Nov 19 22:11:18 2019
InstallationDate: Installed on 2017-08-26 (815 days ago)
InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to disco on 2019-08-18 (93 days ago)

Revision history for this message
Fabien SK (fabsk) wrote :
Revision history for this message
Fabien SK (fabsk) wrote :

I upgraded to Kubuntu 19.10 and the delay disappeared.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.