Bug#439799: lvm2: async SCSI scanning breaks LVM initialization
Ralf Hildebrandt
ralf.hildebrandt at charite.de
Mon Aug 27 13:08:38 UTC 2007
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:
More information about the pkg-lvm-maintainers
mailing list