[Bug 876783] [NEW] Incorrect "unknown LVM metadata header" errors when running update-grub

Phillip Susi psusi at cfl.rr.com
Mon Oct 17 19:29:05 UTC 2011


Public bug reported:

When running update-grub, I get several lines of:

error: unknown LVM metadata header.

This appears to be caused by grub-probe locating the LVM PV label sector
on the underlying physical disk ( hd3,msdos1 ), and incorrectly
following the pointer to the mda header.  At this point, it has already
scanned the 4 physical disks, found the first partition on them, found
the mdadm 1.0 superblock, and correctly located the LVM PV label sector
inside (md/0).  The first few sectors of (md/0) are aliased to
(hd3,msdos1), but obviously the offsets are wrong since they are
relative to the md array, not the disk partition.

I would think that once the mdadm signature was detected on the
underlying physical disk partition, that should preclude further scans
on that partition ( for LVM ).

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/876783

Title:
  Incorrect "unknown LVM metadata header" errors when running update-
  grub

Status in “grub2” package in Ubuntu:
  New

Bug description:
  When running update-grub, I get several lines of:

  error: unknown LVM metadata header.

  This appears to be caused by grub-probe locating the LVM PV label
  sector on the underlying physical disk ( hd3,msdos1 ), and incorrectly
  following the pointer to the mda header.  At this point, it has
  already scanned the 4 physical disks, found the first partition on
  them, found the mdadm 1.0 superblock, and correctly located the LVM PV
  label sector inside (md/0).  The first few sectors of (md/0) are
  aliased to (hd3,msdos1), but obviously the offsets are wrong since
  they are relative to the md array, not the disk partition.

  I would think that once the mdadm signature was detected on the
  underlying physical disk partition, that should preclude further scans
  on that partition ( for LVM ).

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




More information about the foundations-bugs mailing list