[Bug 1093918] Re: grub-probe auto-detection fails on raid

Ing. Josef Klotzner 1093918 at bugs.launchpad.net
Thu Jan 9 18:41:36 UTC 2014


Ok i will test in next days
Am 09.01.2014 17:53 schrieb "Phillip Susi" <psusi at ubuntu.com>:

> The backport to precise is still waiting for someone to test and verify
> it, see comment #56.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1093918
>
> Title:
>   grub-probe auto-detection fails on raid
>
> Status in “multipath-tools” package in Ubuntu:
>   Fix Released
> Status in “multipath-tools” source package in Precise:
>   Fix Committed
>
> Bug description:
>   kpartx was mapping the entire extended partition then stacking the
>   logical partitions on that device.  This exposes a device that
>   otherwise appears to be an entire disk device containing the logical
>   partitions, and this confuses grub.  The extended partition is
>   supposed to only expose the first two sectors to allow LILO to be
>   installed.
>
>   The patch has been applied upstream now, and since this is the only
>   change since quantal, a simple copy to quantal-updates should resolve
>   it there as well.  I have done this in my ppa and the reporter has
>   verified it has fixed the issue.
>
>   TEST CASE:
>
>   Use fdisk to create an extended parition either on a fakeraid disk or
>   an LVM logical volume.  Run kpartx -a /dev/mapper/whatever to activate
>   the partitions on the disk.  Assuming the extended partition is number
>   3, then sudo blockdev --getsz /dev/mapper/whatever3 will report the
>   apparent size of the extended partition.  The size should only be 2
>   sectors regardless of the size of the extended partition.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1093918/+subscriptions
>

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

Title:
  grub-probe auto-detection fails on raid

Status in “multipath-tools” package in Ubuntu:
  Fix Released
Status in “multipath-tools” source package in Precise:
  Fix Committed

Bug description:
  kpartx was mapping the entire extended partition then stacking the
  logical partitions on that device.  This exposes a device that
  otherwise appears to be an entire disk device containing the logical
  partitions, and this confuses grub.  The extended partition is
  supposed to only expose the first two sectors to allow LILO to be
  installed.

  The patch has been applied upstream now, and since this is the only
  change since quantal, a simple copy to quantal-updates should resolve
  it there as well.  I have done this in my ppa and the reporter has
  verified it has fixed the issue.

  TEST CASE:

  Use fdisk to create an extended parition either on a fakeraid disk or
  an LVM logical volume.  Run kpartx -a /dev/mapper/whatever to activate
  the partitions on the disk.  Assuming the extended partition is number
  3, then sudo blockdev --getsz /dev/mapper/whatever3 will report the
  apparent size of the extended partition.  The size should only be 2
  sectors regardless of the size of the extended partition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1093918/+subscriptions



More information about the foundations-bugs mailing list