Bug#567019: kpartx: multipath partition devices are missing

Ferenc Wagner wferi at niif.hu
Wed Jan 27 21:40:56 UTC 2010


Guido Günther <agx at 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 does put it there?  The kpartx package hasn't got an initramfs hook
for that.  I created one for copying the rules file and kpartx_id
(btw. doesn't that miss a full path specification in the rules file?),
but it still isn't enough.  I guess the kernel name is dm-0 in my case,
but there's no /dev/dm-0 node, so

      RUN+="/sbin/kpartx -a -p -part /dev/$kernel"

can't really work...

(initramfs) ls -l /dev/mapper/nfs
brw-rw----    1 0        0        254,   0 Jan 27 21:28 /dev/mapper/nfs
(initramfs) ls -l /dev/dm-*
ls: /dev/dm-*: No such file or directory
(initramfs) ls /sys/block
dm-0  sda   sdb   sdc   sdd   sde
-- 
Still investigating,
Feri.





More information about the pkg-lvm-maintainers mailing list