All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Fix lvm on top of dmraid
@ 2009-07-14 20:24 Hans de Goede
       [not found] ` <1247603083-3513-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hans de Goede @ 2009-07-14 20:24 UTC (permalink / raw)
  To: Discussion of Development and Customization of the Red Hat Linux Installer,
	initramfs
  Cc: Harald Hoyer, Hans de Goede

The lvm rules were failing to identify PV's on mdraid because
blkid/vol_id has not been run on md raidsets by previous rules.
---
 modules.d/90lvm/64-lvm-vol_id.rules |    1 +
 modules.d/90lvm/64-lvm.rules        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules.d/90lvm/64-lvm-vol_id.rules b/modules.d/90lvm/64-lvm-vol_id.rules
index d3a07c1..f5f3a6f 100644
--- a/modules.d/90lvm/64-lvm-vol_id.rules
+++ b/modules.d/90lvm/64-lvm-vol_id.rules
@@ -8,6 +8,7 @@ SUBSYSTEM!="block", GOTO="lvm_end"
 ACTION!="add|change", GOTO="lvm_end"
 
 KERNEL=="dm-*", IMPORT{program}="vol_id --export $tempnode"
+KERNEL=="md*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
 
 ENV{ID_FS_TYPE}=="LVM2_member", \
     TEST!="/tmp/.lvm_scan-%k", \
diff --git a/modules.d/90lvm/64-lvm.rules b/modules.d/90lvm/64-lvm.rules
index 3403020..a1c2d1f 100644
--- a/modules.d/90lvm/64-lvm.rules
+++ b/modules.d/90lvm/64-lvm.rules
@@ -8,6 +8,7 @@ SUBSYSTEM!="block", GOTO="lvm_end"
 ACTION!="add|change", GOTO="lvm_end"
 
 KERNEL=="dm-*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
+KERNEL=="md*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
 
 ENV{ID_FS_TYPE}=="LVM2_member", \
     TEST!="/tmp/.lvm_scan-%k", \
-- 
1.6.2.2

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-15  8:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-14 20:24 [PATCH 1/3] Fix lvm on top of dmraid Hans de Goede
     [not found] ` <1247603083-3513-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-14 20:24   ` [PATCH 2/3] Make Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available Hans de Goede
     [not found]     ` <1247603083-3513-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-14 20:24       ` [PATCH 3/3] Tell the kernel to forget about partitions found on raw imsm raid disks Hans de Goede
     [not found]         ` <1247603083-3513-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-14 23:02           ` Karel Zak
     [not found]             ` <20090714230219.GA5766-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2009-07-15  8:03               ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.