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

Submitter:  Jeff Huffman <tejing>
Submitted:  Fri 28 Oct 2011 08:39:30 PM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Jeff Huffman
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  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>
Group administrator
Fri 28 Oct 2011 08:53:42 PM UTC, comment #1: 

Your exact version? Have you tried upgrading?

Vladimir Serbinenko <phcoder>
Group 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>

 

(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 tejing (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
    2012-02-01 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code