FS#30966 - [linux] 3.5.0 sometimes doesn't find root LVM volume at boot
Attached to Project:
Arch Linux
Opened by Marti (intgr) - Wednesday, 01 August 2012, 18:44 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 27 February 2013, 14:20 GMT
Opened by Marti (intgr) - Wednesday, 01 August 2012, 18:44 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 27 February 2013, 14:20 GMT
|
Details
I have an interesting problem on my laptop: about 1 in 3
times during boot, the initrd fails to find the root file
system, which is located on LVM. I'm quite sure that this
started after upgrading to linux 3.5.0-1
Booting via EFI on Dell Latitude E6410, disks configured in AHCI mode, x86_64, using systemd. Root FS is not encrypted, but I'm using /etc/crypttab for other file systems Kernel command line: /vmlinuz-linux root=/dev/mapper/larcvg-larc--root ro quiet More information here: https://mailman.archlinux.org/pipermail/arch-general/2012-August/029123.html |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 27 February 2013, 14:20 GMT
Reason for closing: No response
Wednesday, 27 February 2013, 14:20 GMT
Reason for closing: No response
I found a solution for this in the following thread:
https://bbs.archlinux.org/viewtopic.php?id=145714
I changed my lvm2 hook as descrtibed in that thread (add 'lvm pvscan' after msg "Activating logical volumes..."). This solved the problem for me.
The root partition is on lvm above raid and none of my configuration files where changed. Actually runs ok after downgrading to 3.4.9
I'd like to close this, because apart from waiting with lvmwait=, I don't see a way to solve this problem.
Well how do the other distros do it?
The problem is, of course, that LVM and device-mapper don't properly work with the Linux hotplug model, something that the udev/systemd people have been complaining about for years, and that the device-mapper people apparently refuse to fix.
In short: Everything should "just work" now.