Your message dated Thu, 29 Jan 2009 23:11:09 +0100
with message-id <[email protected]>
and subject line Re: lvm2: initrd tries to detect lvm volumes
has caused the Debian Bug report #439799,
regarding lvm2: async SCSI scanning breaks LVM initialization
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
439799: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439799
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lvm2
Version: 2.02.26-1+b1
Severity: normal
Recent 2.6.x kernels use async SCSI Scanning by default:
http://lwn.net/Articles/185494/
In my particular setup this means that the kernel is still scanning the
SCSI devices when the /etc/init.d/lvm2 script tries it's do_start()
function:
/sbin/vgscan --ignorelockingfailure --mknodes || true
/sbin/vgchange -a y --ignorelockingfailure || return 2
I was able to "solve" this using:
sleep 5
/sbin/vgscan --ignorelockingfailure --mknodes || true
/sbin/vgchange -a y --ignorelockingfailure || return 2
which is not very elegant.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.5 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages lvm2 depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.20-2 The Linux Kernel Device Mapper use
ii libncurses5 5.6+20070812-1 Shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii libsepol1 2.0.3-1+b1 Security Enhanced Linux policy lib
lvm2 recommends no packages.
-- debconf information:
lvm2/snapshots:
--- End Message ---
--- Begin Message ---
the release notes prominently document the rootdelay
bootparam it is exactly for such circumstances.
just use rootdelay=12 or such.
--
maks
--- End Message ---