bugGNU GRUB - Bugs: bug #34678, grub-install fails to detect lvm2...

 
 

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

bug #34678: grub-install fails to detect lvm2 physical volumes on top of raid

Submitted by:  Jeff Huffman <tejing>
Submitted on:  Fri 28 Oct 2011 08:39:30 PM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Jeff Huffman
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Wed 01 Feb 2012 03:31:27 PM UTC, comment #2:

No answer. I suppose it worked with a recent version (as in my tests it did). Closing

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 28 Oct 2011 08:53:42 PM UTC, comment #1:

Your exact version? Have you tried upgrading?

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 28 Oct 2011 08:39:30 PM UTC, original submission:

I'm using lvm over raid over gpt, and I'm trying to install grub on an x86-64 EFI-based system, however grub-install doesn't seem to recognize the lvm physical volumes on top of raid.

Before running the below commands, I've booted up on a livecd, mounted and chrooted into my system's root (with /dev, /proc, and /sys bound), then mounted /dev/lvm/boot on /boot and /dev/sda1 on /boot/efi as type vfat. Grub-probe should find lvm signatures on /dev/md1 and /dev/md2, but it doesn't.

# grub2-install --recheck
/boot/grub2 not readable
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/mapper/lvm-boot failed.
Try with --recheck.
If the problem persists please report this together with the output of "/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2" to <bug-grub@gnu.org>

# /sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2
/sbin/grub2-probe: info: changing current directory to /dev/mapper.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: changing current directory to /dev.
/sbin/grub2-probe: info: Looking for /dev/sdd1.
/sbin/grub2-probe: info: /dev/sdd1 starts from 34.
/sbin/grub2-probe: info: opening the device hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Partition 0 starts from 34.
/sbin/grub2-probe: info: opening lvm/lvm-boot.
/sbin/grub2-probe: info: scanning hd0 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: scanning hd0,gpt3 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd0,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: scanning hd1,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd1,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd2 for LVM.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: scanning hd2,gpt2 for LVM.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd2,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning hd3 for LVM.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: scanning hd3,gpt1 for LVM.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md/2 (mdraid1x).
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md/1 (mdraid1x).
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd2,gpt2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd2,gpt1.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid1x RAID devices on disk hd3,gpt1.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk md/1.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk md/2.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Found array md0 (mdraid09).
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd2,gpt2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd2,gpt1.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for mdraid09 RAID devices on disk hd3,gpt1.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk md0.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk md/1.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk md/2.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0,gpt3.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0,gpt2.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd0,gpt1.
/sbin/grub2-probe: info: the size of hd0 is 3907029168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd1,gpt2.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd1,gpt1.
/sbin/grub2-probe: info: the size of hd1 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd2,gpt2.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd2,gpt1.
/sbin/grub2-probe: info: the size of hd2 is 2930277168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd3.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: Scanning for dmraid_nv RAID devices on disk hd3,gpt1.
/sbin/grub2-probe: info: the size of hd3 is 976773168.
/sbin/grub2-probe: info: scanning md0 for LVM.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: info: scanning md/1 for LVM.
/sbin/grub2-probe: info: scanning md/2 for LVM.
/sbin/grub2-probe: info: no LVM signature found.
/sbin/grub2-probe: error: no such disk.

Jeff Huffman <tejing>

 

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 tejing (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Feb 2012 03:31:27 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1