I can confirm this bug for Oneric. I've added a new 6th disk to md raid5 (grew it), several days later I've uprgaded the kernel (apt-get dist- upgrade), system was not rebooted between these two events. When grub was configured for a new kernel numerous "error: found two disks with the index 5 for RAID md1. " messages were diplayed (full /var/apt/term.log below). System functions properly after the reboot.
root@server:/var/log/apt# cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] md1 : active raid5 sdg1[1] sdf1[4] sde1[2] sdc1[0] sdd1[3] sda1[5] 9767559680 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU] >sda is the new disk. unused devices: <none> root@server:/var/log/apt# uname -a Linux server 3.0.0-24-generic-pae #40-Ubuntu SMP Tue Jul 24 15:55:26 UTC 2012 i686 athlon i386 GNU/Linux Log started: 2012-08-11 10:25:15 Selecting previously deselected package linux-image-3.0.0-24-generic-pae. (Reading database ... 252585 files and directories currently installed.) Unpacking linux-image-3.0.0-24-generic-pae (from .../linux-image-3.0.0-24-generic-pae_3.0.0-24.40_i386.deb) ... Done. Preparing to replace linux-generic-pae 3.0.0.23.27 (using .../linux-generic-pae_3.0.0.24.28_i386.deb) ... Unpacking replacement linux-generic-pae ... Preparing to replace linux-image-generic-pae 3.0.0.23.27 (using .../linux-image-generic-pae_3.0.0.24.28_i386.deb) ... Unpacking replacement linux-image-generic-pae ... Selecting previously deselected package linux-headers-3.0.0-24. Unpacking linux-headers-3.0.0-24 (from .../linux-headers-3.0.0-24_3.0.0-24.40_all.deb) ... Selecting previously deselected package linux-headers-3.0.0-24-generic-pae. Unpacking linux-headers-3.0.0-24-generic-pae (from .../linux-headers-3.0.0-24-generic-pae_3.0.0-24.40_i386.deb) ... Preparing to replace linux-headers-generic-pae 3.0.0.23.27 (using .../linux-headers-generic-pae_3.0.0.24.28_i386.deb) ... Unpacking replacement linux-headers-generic-pae ... Setting up linux-image-3.0.0-24-generic-pae (3.0.0-24.40) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-24-generic-pae /boot/vmlinuz-3.0.0-24-generic-pae run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-24-generic-pae /boot/vmlinuz-3.0.0-24-generic-pae update-initramfs: Generating /boot/initrd.img-3.0.0-24-generic-pae run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-24-generic-pae /boot/vmlinuz-3.0.0-24-generic-pae run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-24-generic-pae /boot/vmlinuz-3.0.0-24-generic-pae run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-24-generic-pae /boot/vmlinuz-3.0.0-24-generic-pae error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. Generating grub.cfg ... error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. Found linux image: /boot/vmlinuz-3.0.0-24-generic-pae Found initrd image: /boot/initrd.img-3.0.0-24-generic-pae error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. Found linux image: /boot/vmlinuz-3.0.0-23-generic-pae Found initrd image: /boot/initrd.img-3.0.0-23-generic-pae Found linux image: /boot/vmlinuz-3.0.0-22-generic-pae Found initrd image: /boot/initrd.img-3.0.0-22-generic-pae Found linux image: /boot/vmlinuz-3.0.0-21-generic-pae Found initrd image: /boot/initrd.img-3.0.0-21-generic-pae Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. error: found two disks with the index 5 for RAID md1. Found memtest86+ image: /memtest86+.bin done Setting up linux-image-generic-pae (3.0.0.24.28) ... Setting up linux-generic-pae (3.0.0.24.28) ... Setting up linux-headers-3.0.0-24 (3.0.0-24.40) ... Setting up linux-headers-3.0.0-24-generic-pae (3.0.0-24.40) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.0.0-24-generic-pae /boot/vmlinuz-3.0.0-24-generic-pae Setting up linux-headers-generic-pae (3.0.0.24.28) ... Log ended: 2012-08-11 10:26:39 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/776422 Title: [Natty] Grub no longer recognizes raid5 array To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/776422/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs