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

Bug #876783 reported by Phillip Susi on 2011-10-17
This bug report is a duplicate of:  Bug #452350: Unknown LVM metadata header. Edit Remove
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

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 ).

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers