bugGNU GRUB - Bugs: bug #37569, unknown LVM metadata header

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #37569: unknown LVM metadata header

Submitted by:  Øyvind Hvidsten <bolt>
Submitted on:  Sun 14 Oct 2012 08:22:34 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Tue 19 Mar 2013 04:26:55 PM UTC, comment #3:

There were a lot of LVM fixes between 1.99 and 2.00. Please try latest bzr checkout.

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 19 Mar 2013 04:11:11 PM UTC, comment #2:

Confirm to have hit this issue while setting up a lvm over raid1 setup with debian-installer 7.0 rc1: grub 1.99, os-prober 1.56. Installation was successful but received the same unknown LVM metadata header errors when running update-grub (part of a kernel package upgrade).

After manually upgrading to grub 2.00-13 and running updade-grub I received these warnings:

# update-grub
Generating grub.cfg ...
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-3.8.0
Found initrd image: /boot/initrd.img-3.8.0
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
done

Which left the box unbootable.

I suspect any fresh installation with d-i 7.0 rc1 consisting of lvm over raid with grub 1.99 will reproduce this error. Hope this helps.

LV_426 <lv_426>
Sat 03 Nov 2012 09:31:56 AM UTC, comment #1:

I rebuilt the raid/lvm setup from scratch, after dd'ing zeroes to the disks. Grub 1.99 still gave the same errors. However, grub 2.00-7 from Debian's experimental archives now produces no errors. What the...

Øyvind Hvidsten <bolt>
Sun 14 Oct 2012 08:22:34 AM UTC, original submission:

Setup:
Booting from /dev/sda1 and /dev/sdb1 in RAID 1, no LVM (no separate /boot).
LVM for storage, made from a RAID 5 on top of sdc, sdd, sde, sdf. The raid is the only PV in the LVM.

Depending on the versions of grub and os-prober installed, I get a different amount of errors when running update-grub, though it prints "done" at the end and exits with a status of 0 regardless.

Examples:

grub 1.98, os-prober 1.42 (Debian Stable)
-----------------------------------------
# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
Found memtest86 image: /boot/memtest86.bin
done

grub 1.99, os-prober 1.56, AND grub 1.99, os-prober 1.42 (os-prober makes no difference for grub 1.99)
-----------------------------------------
# update-grub
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Generating grub.cfg ...
cat: /boot/grub/video.lst: No such file or directory
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found memtest86 image: /boot/memtest86.bin
done

GRUB 2.00, os-prober 1.56
-----------------------------------------
# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
Found memtest86 image: /boot/memtest86.bin
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
error: unknown LVM metadata header.
Found Debian GNU/Linux (wheezy/sid) on /dev/sda1
Found Debian GNU/Linux (wheezy/sid) on /dev/sdb1
done

GRUB 2.00, os-prober 1.42
-----------------------------------------
# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found linux image: /boot/vmlinuz-3.2.0-0.bpo.2-amd64
Found initrd image: /boot/initrd.img-3.2.0-0.bpo.2-amd64
Found memtest86 image: /boot/memtest86.bin
done

Øyvind Hvidsten <bolt>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by lv_426 (Posted a comment)
  • -unavailable- added by bolt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup