** Description changed:

  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.

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

Title:
  grub-probe auto-detection fails on raid

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to