bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34250] grub-probe error: found two disks with the index 0 for RAID


From: Pedro Monteiro
Subject: [bug #34250] grub-probe error: found two disks with the index 0 for RAID md0 / superfluous RAID member (2 found)
Date: Mon, 12 Sep 2011 16:16:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

Follow-up Comment #1, bug #34250 (project grub):

Found the reason for the problem and a workaround.

The problem:

The problem is having a RAID partition as the last partition of the device.
Because the superblock location of a partition that is the last on the device
and the superblock location of an entire device is the same (both on the end
of the device) the superblock metadata should be used to find which RAID
device it's related to.
Apparently grub-probe misunderstands this info. In my case it was assuming I
had a full hard drive RAID device instead of a single partition at the end.

The workaround:

Having found this erratic behavior, I changed my disk partition layout so that
the RAID partition wouldn't be at the end of the disk. Now, the last partition
was the swap partition.
That change itself didn't work because the mkswap command didn't erase the
raid superblock data still in the partition at the end of the drive. I had to
do a "mdadm --zero-superblock" at the disk device so that the only valid
superblock would be the RAID partition superblock.

After all this, I finally got grub-probe to detect my configuration
successfully.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34250>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]