<HTML>
<HEAD>
<TITLE>Re: [dm-devel] oblem with lvm and multipath on fedora 13</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Here’s what I’ve found:<BR>
<BR>
If I vgchange the 2 affected VGs to inactive, multipath will pick up the devices.  However, once I do that, I can’t seem to get the VGs reactivated in such a way to make the volumes mountable.  I use vgchange –a y to make the VG active, then do “vgscan —mknodes”.  That doesn’t seem to create the devices in /dev, only in /dev/mapper, so I’ve tried issuing /etc/init.d/udev-post reload, which does create the volumes in /dev/<vg>/<lv>.  The issue is, it has no blkid.  And if I try to mount the mapper device directly, mount doesn’t know what filesystem type it is.  I’m not an lvm pro, so it’s possible I’m missing a step or two, but in the past when moving around snapshots of lvms, vgscan —mknodes has always been sufficient.<BR>
<BR>
As for not having multipath in initrd, I have created an initrd image with the following:<BR>
<BR>
mkinitrd /boot/initramfs-with-multipath.img 2.6.33.8-149.fc13.x86_64 --with=dm-multipath<BR>
<BR>
I then created a grub entry for it, booted off it, and no change in behavior.  Is that what you had in mind?<BR>
<BR>
-Brian<BR>
<BR>
On 8/27/10 11:26 AM, "Malahal Naineni" <<a href="malahal@us.ibm.com">malahal@us.ibm.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
If you can, deactivate the affected VG, restart multipath (it should be<BR>
able to load maps now) and then activate the VG. If this works, then<BR>
there is something that is causing LVM to claim devices before multipath<BR>
does.<BR>
<BR>
Thanks, Malahal.<BR>
PS: If you don't have multipath in initrd, LVM *may* claim paths as PV's<BR>
before the multipath from active root can claim them. Don't have enough<BR>
info on Fedora13 initrd if this can happen though.<BR>
<BR>
--<BR>
dm-devel mailing list<BR>
<a href="dm-devel@redhat.com">dm-devel@redhat.com</a><BR>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel">https://www.redhat.com/mailman/listinfo/dm-devel</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>