Subject: mdadm: Initrd skript leads to unbootable system after upgrade to squeeze Package: mdadm Version: 2.6.7.2-3 Severity: important
*** Please type your report below this line *** The skript /usr/share/initramfs-tools/scripts/local-top/mdadm has an error with leads to a unbootable system. The problem occurs on the folling conditions: 1) The software raid needs to have a superblock with name support e.g. superblock 1.2 2) The system has be booted with a broken mdadm.conf. It is enough if this happend once. 3) The system needs to be upgraded from lenny to squeeze Here is a example for /dev/md0. Status before boot: mdadm --examine /dev/sda1 /dev/sda1: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : a89934aa:5ce42d64:851af503:290b0b9a Name : system:0 Status after boot: mdadm --examine /dev/sda1 /dev/sda1: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : a89934aa:5ce42d64:851af503:290b0b9a Name : 'system':0 As long as you stay on lenny this is no problem, but after upgradeing to squeeze the raid will not be assembled anymore. Here is a patch to fix this problem: --- /usr/share/initramfs-tools/scripts/local-top/mdadm 2009-06-12 11:18:39.000000000 +0200 +++ /usr/share/initramfs-tools/scripts/local-top/mdadm.new 2011-10-28 13:46:28.000000000 +0200 @@ -77,7 +77,7 @@ verbose && log_begin_msg "Assembling all MD arrays" extra_args='' [ -n "$MD_HOMEHOST" ] && \ - extra_args="--homehost='$MD_HOMEHOST' --auto-update-homehost" + extra_args="--homehost=$MD_HOMEHOST --auto-update-homehost" if $MDADM --assemble --scan --run --auto=yes $extra_args; then verbose && log_success_msg "assembled all arrays." else I hope you can fix this in lenny. Oliver -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org