On Wed, Jan 27, 2010 at 10:40:56PM +0100, Ferenc Wagner wrote: > Guido Günther <[email protected]> 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
/usr/share/initramfs-tools/scripts/local-top/multipath > (btw. doesn't that miss a full path specification in the rules file?), No. /lib/udev is being used. > 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... You're running an old version it seems. You should try 0.4.8+git0.761c66f-7. Your 0.4.8-14+lenny2 wo't work with recent kernels/udev/dm. Cheers, -- Guido -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

