From: Harald Hoyer Date: Wed, 22 Aug 2012 11:01:53 +0000 (+0200) Subject: mdraid: catch nested md raids X-Git-Tag: 024~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5746f04994745ac4ad01b4ae26f6c368ac725fb3;p=thirdparty%2Fdracut.git mdraid: catch nested md raids Thanks to Ian Dall! --- diff --git a/modules.d/90mdraid/65-md-incremental-imsm.rules b/modules.d/90mdraid/65-md-incremental-imsm.rules index 6dd696ab7..d66dd012f 100644 --- a/modules.d/90mdraid/65-md-incremental-imsm.rules +++ b/modules.d/90mdraid/65-md-incremental-imsm.rules @@ -5,7 +5,9 @@ ACTION!="add|change", GOTO="md_end" SUBSYSTEM!="block", GOTO="md_end" ENV{rd_NO_MD}=="?*", GOTO="md_end" -KERNEL=="md*", GOTO="md_end" +KERNEL=="md*", ENV{ID_FS_TYPE}!="linux_raid_member", GOTO="md_end" +KERNEL=="md*", ACTION!="change", GOTO="md_end" + # Also don't process disks that are slated to be a multipath device ENV{DM_MULTIPATH_DEVICE_PATH}=="?*", GOTO="md_end"