Bug#501259: lvm2: same problem, different hardware.

Kevin Galloway aragorn at tardis.ed.ac.uk
Fri Nov 28 21:32:19 UTC 2008

Package: lvm2
Version: 2.02.35-1
Followup-For: Bug #501259

I've just installed lenny on a Dell PowerEdge 1650 with a PERC3 hardware RAID controller.

I experienced the same issue as the original poster. It seems that the `scripts/local-top/lvm2` 
only gets run once. The hardware raid controller takes a good few seconds to initialise and 
create the /dev/sda device that the LVM resides on.

The system then enters its "Waiting for root filesystem..." loop, but it will never succeed
unless the lvm2 script is re-run to create the /dev/mapper/... node that the root filesystem 
resides on.

I've managed to get my system booting by adding `sleep 15` to the initramfs init script before 
it runs the lvm startup scripts, which gives the scsi time to come online, but this is hacky at best.

Ideally udev should be detecting there is an LVM vg on the disk when it becomes available and should
re-run the lvm script.

Kevin Galloway
aragorn at tardis.ed.ac.uk

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                        2.7-10      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.24-4 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-3       GNU readline and history libraries

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  dmsetup                       <none>     (no description available)

-- no debconf information

More information about the pkg-lvm-maintainers mailing list