Just tried to reproduce bug on Debian Wheezy, and couldn't. Wheezy assembles the nested raid without issues. Talked to xnox on #ubuntu-bugs, and he told me to look into mdadm's udev rules. I did, and compared it with the one in Wheezy, and the difference is pasted below. If I change the first line (both in /lib/udev/rules.d and in the initrd) from Wheezy, it works as before (ok with normal raids, not nested raids) - if I replace the whole file with the one from Wheezy or just add the GOTO below, it fails to assemble all raids.
Anyone that can help out here? I'm lost after a lot of digging…
# handle potential components of arrays (the ones supported by md)
-ENV{ID_FS_TYPE}=="linux_raid_member", GOTO="md_inc"
+ENV{ID_FS_TYPE}=="ddf_raid_member|isw_raid_member|linux_raid_member", GOTO="md_inc"
GOTO="md_inc_skip"
LABEL="md_inc"
+## DISABLED: Incremental udev assembly disabled
+## ** this is a Debian-specific change **
+GOTO="md_inc_skip"
+
# remember you can limit what gets auto/incrementally assembled by
# mdadm.conf(5)'s 'AUTO' and selectively whitelist using 'ARRAY'
ACTION=="add", RUN+="/sbin/mdadm --incremental $tempnode"
root@raidtest:~#
Just tried to reproduce bug on Debian Wheezy, and couldn't. Wheezy assembles the nested raid without issues. Talked to xnox on #ubuntu-bugs, and he told me to look into mdadm's udev rules. I did, and compared it with the one in Wheezy, and the difference is pasted below. If I change the first line (both in /lib/udev/rules.d and in the initrd) from Wheezy, it works as before (ok with normal raids, not nested raids) - if I replace the whole file with the one from Wheezy or just add the GOTO below, it fails to assemble all raids.
Anyone that can help out here? I'm lost after a lot of digging…
thanks
roy
--- /lib/udev/ rules.d/ 64-md-raid. rules 2013-05-30 14:28:58.966754000 +0200 rules-debian 2013-05-30 14:13:41.850203999 +0200 ="block" , GOTO="md_end"
+++ 64-md-raid.
@@ -3,11 +3,15 @@
SUBSYSTEM!
# handle potential components of arrays (the ones supported by md) FS_TYPE} =="linux_ raid_member" , GOTO="md_inc" FS_TYPE} =="ddf_ raid_member| isw_raid_ member| linux_raid_ member" , GOTO="md_inc"
-ENV{ID_
+ENV{ID_
GOTO="md_inc_skip"
LABEL="md_inc"
+## DISABLED: Incremental udev assembly disabled
+## ** this is a Debian-specific change **
+GOTO="md_inc_skip"
+
# remember you can limit what gets auto/incrementally assembled by
# mdadm.conf(5)'s 'AUTO' and selectively whitelist using 'ARRAY'
ACTION=="add", RUN+="/sbin/mdadm --incremental $tempnode"
root@raidtest:~#