[Bug 999076] Re: Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

Fabian Zeindl fabian.zeindl at gmail.com
Mon May 14 16:12:42 UTC 2012


/dev/md0:
        Version : 0.90
  Creation Time : Sat Aug 28 16:19:54 2010
     Raid Level : raid5
     Array Size : 1465148736 (1397.27 GiB 1500.31 GB)
  Used Dev Size : 488382912 (465.76 GiB 500.10 GB)
   Raid Devices : 4
  Total Devices : 5
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Mon May 14 18:12:08 2012
          State : active
 Active Devices : 4
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 9e41c020:85eb05dd:a3f83a12:f3b86535
         Events : 0.9459

    Number   Major   Minor   RaidDevice State
       0       8       49        0      active sync   /dev/sdd1
       1       8       17        1      active sync   /dev/sdb1
       2       8       65        2      active sync   /dev/sde1
       3       8       33        3      active sync   /dev/sdc1

       4       8        1        -      spare   /dev/sda1


Disk /dev/sda: 500.1 GB, 500107862016 bytes
18 heads, 30 sectors/track, 1808839 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000bf7f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   976772000   488384976+  fd  Linux RAID autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001391b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048   976768064   488383008+  fd  Linux RAID autodetect

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
81 heads, 63 sectors/track, 191411 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f2f3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048   976773167   488385560   fd  Linux RAID autodetect

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
24 heads, 14 sectors/track, 2907063 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00037497

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *        2048   976772000   488384976+  fd  Linux RAID autodetect

Disk /dev/sde: 500.1 GB, 500107862016 bytes
81 heads, 63 sectors/track, 191411 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe50d27b1

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   *        2048   976773167   488385560   fd  Linux RAID autodetect

Disk /dev/md0: 1500.3 GB, 1500312305664 bytes
2 heads, 4 sectors/track, 366287184 cylinders, total 2930297472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 196608 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/999076

Title:
  Upgrade vom 10.04 LTS Server to 12.04 LTS Server breaks grub

Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  I tried to upgrade a server, and i was left with a broken grub2. I
  think it has to do something with LVM/RAID.

  My setup: /root lies on LVM which is on a Raid5. There's not separate
  boot partition.

  When i reinstall grub2 from the command-line i get the following
  errors:

  ...

  Setting up grub-pc (1.99-21ubuntu3) ...

  Creating config file /etc/default/grub with new version
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.                                                                                                                                                                              
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  /usr/sbin/grub-probe: error: unknown filesystem.
  Auto-detection of a filesystem of /dev/mapper/lvm-root failed.

  Try with --recheck.
  If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  /usr/sbin/grub-probe: error: unknown filesystem.
  Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
  Try with --recheck.
  If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  /usr/sbin/grub-probe: error: unknown filesystem.
  Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
  Try with --recheck.
  If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  /usr/sbin/grub-probe: error: unknown filesystem.
  Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
  Try with --recheck.
  If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: found two disks with the index 0 for RAID md0.
  error: found two disks with the index 3 for RAID md0.
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  error: superfluous RAID member (4 found).
  /usr/sbin/grub-probe: error: unknown filesystem.
  Auto-detection of a filesystem of /dev/mapper/lvm-root failed.
  Try with --recheck.
  If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <bug-grub at gnu.org>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/999076/+subscriptions




More information about the foundations-bugs mailing list