do not force to run the mdraid array for the incremental add
authorHarald Hoyer <harald@redhat.com>
Mon, 13 Jul 2009 12:50:49 +0000 (14:50 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 13 Jul 2009 14:24:41 +0000 (16:24 +0200)
modules.d/90mdraid/61-mdadm.rules

index 1a5d98c..7c90628 100644 (file)
@@ -7,6 +7,6 @@ ACTION!="add|change", GOTO="raid_end"
 KERNEL=="md/*", GOTO="raid_end"
 
 KERNEL=="md*", IMPORT{program}="vol_id --export $tempnode"
-ENV{ID_FS_TYPE}=="linux_raid_member", RUN+="/sbin/mdadm -IR $root/%k"
+ENV{ID_FS_TYPE}=="linux_raid_member", RUN+="/sbin/mdadm -I $env{DEVNAME}"
 
 LABEL="raid_end"