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

 
 

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

bug #37569: unknown LVM metadata header

Submitter:  Øyvind Hvidsten <bolt>
Submitted:  Sun 14 Oct 2012 08:22:34 AM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Works For Me Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Mon 20 Jul 2015 09:22:05 PM UTC, comment #4: 

I (unfortunately?) no longer have this setup, and have not been able to reproduce this bug since. As nobody else is chiming in, I suggest closing this bug.

Øyvind Hvidsten <bolt>
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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-08 phcoder StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code