Comment 59 for bug 1093918

Revision history for this message
Ing. Josef Klotzner (josef-klotzner) wrote : Re: [Bug 1093918] Re: grub-probe auto-detection fails on raid

Does it mean it is already fixef in 12.04.3 and newer?
Am 09.01.2014 16:13 schrieb "Phillip Susi" <email address hidden>:

> ** No longer affects: multipath-tools (Ubuntu Quantal)
>
> --
> 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
>