[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux-image-3.9-0.bpo.1-amd64 efistub fails to activate LVM



On Wed, Jul 17, 2013 at 09:00:04PM +1000, James Robertson wrote:
> As a test I decided to do away with the contents in
> /usr/share/initramfs-tools/scripts/local-top/lvm2 and replaced it with
> a simple configuration as follows
> 
> #!/bin/sh
> 
> modprobe -q dm-mod
> 
> lvm vgchange -aly --ignorelockingfailure
> 
> exit 0
> 
> Ran update-initramfs -u and copied /vmlinuz & /initrd.img to
> /boot/efi/EFI/debian/
> 
> Rebooted and it booted stright up after activating my root lvm fine.
> Obviously this hack is not a solution.
> 
> So does this point towards an issue in the version of initramfs-tools
> in wheezy-backports?  Specifically the
> /usr/share/initramfs-tools/scripts/local-top/lvm2 script.  It
> certainly fails to activate the root lvm.
> 
> I'll have a closer look but if anyone can see a problem with the
> script I would be interested to know.

That file belongs to "lvm2" package. lvm2/initramfs-tools etc. is a complex
system that should get more attention to get bugs fixed. I don't know if
it's releated but there is existing bugreport against
initramfs-tools http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678696
That bug has a patch that implements "Event based block device handling"
that may help you (or not).


Reply to: