Bug#610184: grub-pc: superfluous RAID member not just for spares
Anthony DeRobertis
aderobertis at metrics.net
Mon Jan 17 18:53:01 UTC 2011
Subject: grub-pc: superfluous RAID member not just for spares
Package: grub-pc
Version: 1.98+20100804-13
This machine doesn't have any spares; just a four-disk mirror for /boot (md0)
and a four-disk raid10 (md1) for everything else.
So, will this machine still boot, or do I need to downgrade grub? Previous
version did not spew errors.
root at Gond:~# update-grub
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
Generating grub.cfg ...
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
Found memtest86 image: /memtest86.bin
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
error: found two disks with the number 0.
error: found two disks with the number 0.
error: found two disks with the number 0.
error: superfluous RAID member (4 found).
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
done
root at Gond:~# mdadm --detail /dev/md?
/dev/md0:
Version : 0.90
Creation Time : Thu Jul 15 16:45:22 2010
Raid Level : raid1
Array Size : 131008 (127.96 MiB 134.15 MB)
Used Dev Size : 131008 (127.96 MiB 134.15 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Jan 17 13:38:23 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
UUID : bc14c534:3491db2e:d86e3031:849af764 (local to host Gond)
Events : 0.246
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
/dev/md1:
Version : 1.0
Creation Time : Thu Jul 15 16:22:59 2010
Raid Level : raid10
Array Size : 976507904 (931.27 GiB 999.94 GB)
Used Dev Size : 488253952 (465.64 GiB 499.97 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Mon Jan 17 13:41:09 2011
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : near=2
Chunk Size : 512K
Name : Gond:1 (local to host Gond)
UUID : b5f3e4b3:7977c348:e22283fb:779d6e8f
Events : 36368
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
2 8 34 2 active sync /dev/sdc2
3 8 50 3 active sync /dev/sdd2
root at Gond:~# mdadm -E /dev/sd?1 /dev/sd?2
/dev/sda1:
Magic : a92b4efc
Version : 0.90.00
UUID : bc14c534:3491db2e:d86e3031:849af764 (local to host Gond)
Creation Time : Thu Jul 15 16:45:22 2010
Raid Level : raid1
Used Dev Size : 131008 (127.96 MiB 134.15 MB)
Array Size : 131008 (127.96 MiB 134.15 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Jan 17 13:42:39 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : 90511ac6 - correct
Events : 246
Number Major Minor RaidDevice State
this 0 8 1 0 active sync /dev/sda1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : bc14c534:3491db2e:d86e3031:849af764 (local to host Gond)
Creation Time : Thu Jul 15 16:45:22 2010
Raid Level : raid1
Used Dev Size : 131008 (127.96 MiB 134.15 MB)
Array Size : 131008 (127.96 MiB 134.15 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Jan 17 13:42:39 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : 90511ad8 - correct
Events : 246
Number Major Minor RaidDevice State
this 1 8 17 1 active sync /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
/dev/sdc1:
Magic : a92b4efc
Version : 0.90.00
UUID : bc14c534:3491db2e:d86e3031:849af764 (local to host Gond)
Creation Time : Thu Jul 15 16:45:22 2010
Raid Level : raid1
Used Dev Size : 131008 (127.96 MiB 134.15 MB)
Array Size : 131008 (127.96 MiB 134.15 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Jan 17 13:42:39 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : 90511aea - correct
Events : 246
Number Major Minor RaidDevice State
this 2 8 33 2 active sync /dev/sdc1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 0.90.00
UUID : bc14c534:3491db2e:d86e3031:849af764 (local to host Gond)
Creation Time : Thu Jul 15 16:45:22 2010
Raid Level : raid1
Used Dev Size : 131008 (127.96 MiB 134.15 MB)
Array Size : 131008 (127.96 MiB 134.15 MB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Jan 17 13:42:39 2011
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : 90511afc - correct
Events : 246
Number Major Minor RaidDevice State
this 3 8 49 3 active sync /dev/sdd1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
/dev/sda2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : b5f3e4b3:7977c348:e22283fb:779d6e8f
Name : Gond:1 (local to host Gond)
Creation Time : Thu Jul 15 16:22:59 2010
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 976508704 (465.64 GiB 499.97 GB)
Array Size : 1953015808 (931.27 GiB 999.94 GB)
Used Dev Size : 976507904 (465.64 GiB 499.97 GB)
Super Offset : 976508960 sectors
State : active
Device UUID : f1e45770:2b06a5e6:283fc717:5bc7882e
Internal Bitmap : -8 sectors from superblock
Update Time : Mon Jan 17 13:44:27 2011
Checksum : 7a96a0b5 - correct
Events : 36369
Layout : near=2
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdb2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : b5f3e4b3:7977c348:e22283fb:779d6e8f
Name : Gond:1 (local to host Gond)
Creation Time : Thu Jul 15 16:22:59 2010
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 976508704 (465.64 GiB 499.97 GB)
Array Size : 1953015808 (931.27 GiB 999.94 GB)
Used Dev Size : 976507904 (465.64 GiB 499.97 GB)
Super Offset : 976508960 sectors
State : active
Device UUID : be335d60:ce81b0b7:546d7fe8:3d8348e2
Internal Bitmap : -8 sectors from superblock
Update Time : Mon Jan 17 13:44:27 2011
Checksum : c01f5535 - correct
Events : 36369
Layout : near=2
Chunk Size : 512K
Device Role : Active device 1
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdc2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : b5f3e4b3:7977c348:e22283fb:779d6e8f
Name : Gond:1 (local to host Gond)
Creation Time : Thu Jul 15 16:22:59 2010
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 976508704 (465.64 GiB 499.97 GB)
Array Size : 1953015808 (931.27 GiB 999.94 GB)
Used Dev Size : 976507904 (465.64 GiB 499.97 GB)
Super Offset : 976508960 sectors
State : active
Device UUID : 18aea233:5605abf9:d44fd50e:33796568
Internal Bitmap : -8 sectors from superblock
Update Time : Mon Jan 17 13:44:27 2011
Checksum : 81d22b8d - correct
Events : 36369
Layout : near=2
Chunk Size : 512K
Device Role : Active device 2
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdd2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : b5f3e4b3:7977c348:e22283fb:779d6e8f
Name : Gond:1 (local to host Gond)
Creation Time : Thu Jul 15 16:22:59 2010
Raid Level : raid10
Raid Devices : 4
Avail Dev Size : 976508704 (465.64 GiB 499.97 GB)
Array Size : 1953015808 (931.27 GiB 999.94 GB)
Used Dev Size : 976507904 (465.64 GiB 499.97 GB)
Super Offset : 976508960 sectors
State : active
Device UUID : 1ab244c0:7a531c4d:82c0fda1:48a2075d
Internal Bitmap : -8 sectors from superblock
Update Time : Mon Jan 17 13:44:27 2011
Checksum : e9b01777 - correct
Events : 36369
Layout : near=2
Chunk Size : 512K
Device Role : Active device 3
Array State : AAAA ('A' == active, '.' == missing)
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/Gond-root / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,stripe=256,data=ordered 0 0
/dev/md0 /boot ext2 rw,noatime,errors=continue 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-ST3500514NS_9WJ032V5
(hd1) /dev/disk/by-id/ata-ST3500514NS_9WJ03VL1
(hd2) /dev/disk/by-id/ata-ST3500514NS_9WJ01X7Y
(hd3) /dev/disk/by-id/ata-ST3500514NS_9WJ030NT
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
set locale_dir=($root)/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/Gond-root ro
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/Gond-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
linux16 /memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
linux16 /memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
multiboot /memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 10038e74-db72-4b01-b055-37cbef66e604
multiboot /memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.37 Debian configuration management sy
ii grub-common 1.98+20100804-13 GRand Unified Bootloader, version
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-4 The Linux Kernel Device Mapper use
ii ucf 3.0025+nmu1 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
pn desktop-base (no description available)
-- debconf information:
grub-pc/kopt_extracted: false
grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/disk/by-id/ata-ST3500514NS_9WJ032V5, /dev/disk/by-id/ata-ST3500514NS_9WJ03VL1, /dev/disk/by-id/ata-ST3500514NS_9WJ01X7Y, /dev/disk/by-id/ata-ST3500514NS_9WJ030NT
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
* grub2/linux_cmdline:
grub-pc/install_devices_empty: true
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
grub-pc/install_devices_failed: false
* grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-ST3500514NS_9WJ032V5, /dev/disk/by-id/ata-ST3500514NS_9WJ03VL1, /dev/disk/by-id/ata-ST3500514NS_9WJ01X7Y, /dev/disk/by-id/ata-ST3500514NS_9WJ030NT
* grub2/linux_cmdline_default:
grub-pc/chainload_from_menu.lst: true
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list