Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Guido Günther
On Tue, Jan 26, 2010 at 07:06:26PM +0100, Ferenc Wagner wrote: Package: kpartx Version: 0.4.8-14+lenny2 Severity: normal Hi, I'd like to boot from a partitioned multipath device, but the device nodes corresponding to the partitions aren't created. At the (initramfs) prompt:

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Ferenc Wagner
Guido Günther a...@sigxcpu.org writes: Could you add a sleep 10 at the end of the multipath local-top initramfs script? It's possible that lvm grabs the sd* devices before multipath had a chance to assemble the multipath maps. That would at least look like the above. Sure I could, but I

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Ferenc Wagner
Ferenc Wagner wf...@niif.hu writes: Guido Günther a...@sigxcpu.org writes: Could you add a sleep 10 at the end of the multipath local-top initramfs script? It's possible that lvm grabs the sd* devices before multipath had a chance to assemble the multipath maps. That would at least look

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Guido Günther
On Wed, Jan 27, 2010 at 08:26:14PM +0100, Ferenc Wagner wrote: Now I put this to the end of scripts/local-top/multipath: if [ ! -e /dev/mapper/nfs2 ]; then echo Running kpartx for #567019... kpartx -a /dev/mapper/nfs ls -l /dev/mapper fi and got something weird during boot

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Ferenc Wagner
Guido Günther a...@sigxcpu.org writes: Could you try increasing udevs debug level (maybe capture via serial console)? Heh, booting with udev_log=debug resulted in a 1.1M console log file... Truly amazing. Alternatively could you first check if the scripts called from

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Guido Günther
On Wed, Jan 27, 2010 at 09:40:08PM +0100, Ferenc Wagner wrote: Guido Günther a...@sigxcpu.org writes: Could you try increasing udevs debug level (maybe capture via serial console)? Heh, booting with udev_log=debug resulted in a 1.1M console log file... Truly amazing. Alternatively

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Ferenc Wagner
Guido Günther a...@sigxcpu.org writes: On Wed, Jan 27, 2010 at 09:40:08PM +0100, Ferenc Wagner wrote: That is, 60-kpartx.rules is not present in the initramfs! No wonder it does not work. :) Weird - I just bootstraped a kvm instance and 60-kpartx.rules ends up in the initramfs fine. What

Bug#567019: kpartx: multipath partition devices are missing

2010-01-27 Thread Guido Günther
On Wed, Jan 27, 2010 at 10:40:56PM +0100, Ferenc Wagner wrote: Guido Günther a...@sigxcpu.org writes: On Wed, Jan 27, 2010 at 09:40:08PM +0100, Ferenc Wagner wrote: That is, 60-kpartx.rules is not present in the initramfs! No wonder it does not work. :) Weird - I just bootstraped a

Bug#567019: kpartx: multipath partition devices are missing

2010-01-26 Thread Ferenc Wagner
Package: kpartx Version: 0.4.8-14+lenny2 Severity: normal Hi, I'd like to boot from a partitioned multipath device, but the device nodes corresponding to the partitions aren't created. At the (initramfs) prompt: (initramfs) multipath -ll nfs (360060160ec612000f6f237e09406df11) dm-0 DGC