Bug#560210: lvm2: Mounting root from an LVM on USB waits too late
Stefan Monnier
monnier at iro.umontreal.ca
Wed Dec 9 18:31:36 UTC 2009
Package: lvm2
Version: 2.02.54-1
Severity: normal
All my machines use LVM for all partitions other than a small /boot
partition containsing the initramfs. This usually works well, but
when I recently tried to boot one of my disks over USB I saw a problem:
the "rootdelay" waits for the device to appear, but too late,
because /usr/share/initramfs-tools/scripts/local-top/lvm2 is executed
before that, so I typically get the following sequence:
...
LVM failed to find the root device (as well as the resume device)
...
waiting rootdelay
...
found sdb1 and sdb2
...timeout:
not found root device /dev/mapper/Foo-Bar
-- Stefan
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-rc9-nouveau (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lvm2 depends on:
ii dmsetup 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libreadline5 5.2-7 GNU readline and history libraries
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
lvm2 recommends no packages.
lvm2 suggests no packages.
-- debconf information:
lvm2/snapshots:
More information about the pkg-lvm-maintainers
mailing list