lvm initialization hangs during boot or when running /etc/init.d/lvm start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lvm-common
Updated system yesterday (2007.04.02), relevant updated packages were lvm-common, mdadm and udev.
While the update finally seems to have fixed a long standing race condition in mdadm preventing boot,
it seems to have broken lvm. The system will freeze at lvm start (right after turning up the parport).
If I interrupt the process (alt-sysrq-e) I can do a mount -a and it will find all the volumes correctly. From that point on,
I can resume the boot process by forcing a telinit 1; telinit 2
Also, running /etc/init.d/lvm start seems to hang at the same point.
ii lvm-common 1.5.20ubuntu12 The Logical Volume Manager for Linux (common
ii lvm2 2.02.06-2ubuntu9 The Linux Logical Volume Manager
ii mdadm 2.5.6-7ubuntu5 tool to administer Linux MD arrays (software
ii udev 108-0ubuntu1 rule-based device node and kernel event mana
Linux penny 2.6.20-13-generic #2 SMP Sat Mar 24 23:12:02 UTC 2007 x86_64 GNU/Linux
Please provide the output of the following:
dpkg-query -W devmapper dmsetup libdevmapper1.02 udev volumeid libvolume-id0 lvm2 lvm-common mdadm
Also could you try booting your system with init=/bin/bash and then remove the symlink for this init script, followed by exec /sbin/init
See if your system boots fine then.
If it does, boot into single-user mode and then run the script with:
sh -x /etc/init.d/lvm2 >/dev/lvm.log 2>&1
and attach the output to this bug