bugGNU GRUB - Bugs: bug #36004, grub-probe has trouble with lvm on...

 
 

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

bug #36004: grub-probe has trouble with lvm on raid

Submitter:  Kevin Murphy <kemurphy>
Submitted:  Mon 26 Mar 2012 04:34:36 AM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Mon 08 Apr 2013 07:10:45 PM UTC, comment #4: 

@Pierpaolo: you're posting to a report with LVM+RAID while you have fakeraid. It's not the same, open a new bug report and provide the output of grub-probe -vv -t fs /boot/grub

Vladimir Serbinenko <phcoder>
Group administrator
Mon 30 Jul 2012 07:34:05 AM UTC, comment #3: 

I know this bug is closed, but I have a very similar problem with grub 2.00 provided by my distribution (Archlinux). I have a RAID1 array on an Intel controller (fakeraid) and I can't run grub-install to write grub to the of the array, the command fails with the error
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
I don't have any "fancy" setup, just the array and no separate /boot partition.
Let me know if I can provide additional feedback or run other tests.
Thanks.

Pierpaolo Valerio <gondsman>
Wed 18 Apr 2012 09:08:37 PM UTC, comment #2: 

Considering the lack of response, I suppose that the reporter doesn't care and I just commit my patch.

Vladimir Serbinenko <phcoder>
Group administrator
Wed 11 Apr 2012 02:07:51 PM UTC, comment #1: 

Please try the attached patch

(file #25630)

Vladimir Serbinenko <phcoder>
Group administrator
Mon 26 Mar 2012 04:34:36 AM UTC, original submission:  

I have an EFI System Partitition on a USB stick, and four 1TB hard drives set up in a RAID5 with LVM on top of it (currently it is running as a degenerate array with 3 of 4 devices, though).  One of the LVM logical volumes is mounted on /boot, and the USB stick is mounted on /boot/efi.  I can't seem to install grub with this setup, even though it seems like it should be possible.

When I run grub-install --target=x86_64-efi --recheck, I get:
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

When I run grub-probe /boot/grub -vv, I get:
grub-probe: info: cannot open `//boot/grub/device.map': No such file or directory.
grub-probe: info: changing current directory to /dev/mapper.
util/getroot.c:1822: /dev/dm-4 is an LVM
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-label.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to block.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-label.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to block.
grub-probe: info: Looking for /dev/sda1.
grub-probe: info: /dev/sda1 starts from 40.
grub-probe: info: opening the device hostdisk//dev/sda.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sda' in open_device()
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sda1' in open_device()
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda1'
grub-core/disk/diskfilter.c:806: Found array sae
grub-probe: info: Found array sae.
grub-core/disk/diskfilter.c:1003: Inserting hostdisk//dev/sda into sae (lvm)
grub-probe: info: Inserting hostdisk//dev/sda into sae (lvm)
.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-core/kern/disk.c:230: Opening `lvm/sae-swap'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk lvm/sae-swap
grub-probe: info: Scanning for DISKFILTER devices on disk lvm/sae-swap.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sda' in open_device()
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: scanning lvm/sae-swap for LDM.
grub-probe: info: no LDM signature found.
grub-core/partmap/apple.c:123: bad magic (found 0xeeb9; wanted 0x4552
grub-core/kern/disk.c:326: Closing `lvm/sae-swap'.
grub-core/kern/disk.c:230: Opening `lvm/sae-sys'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk lvm/sae-sys
grub-probe: info: Scanning for DISKFILTER devices on disk lvm/sae-sys.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: scanning lvm/sae-sys for LDM.
grub-probe: info: no LDM signature found.
grub-core/partmap/apple.c:123: bad magic (found 0xd9b6; wanted 0x4552
grub-core/kern/disk.c:326: Closing `lvm/sae-sys'.
grub-core/kern/disk.c:230: Opening `lvm/sae-web'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk lvm/sae-web
grub-probe: info: Scanning for DISKFILTER devices on disk lvm/sae-web.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: scanning lvm/sae-web for LDM.
grub-probe: info: no LDM signature found.
grub-core/partmap/apple.c:123: bad magic (found 0x898b; wanted 0x4552
grub-core/kern/disk.c:326: Closing `lvm/sae-web'.
grub-core/kern/disk.c:230: Opening `lvm/sae-files'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk lvm/sae-files
grub-probe: info: Scanning for DISKFILTER devices on disk lvm/sae-files.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-probe: info: scanning lvm/sae-files for LDM.
grub-probe: info: no LDM signature found.
grub-core/partmap/apple.c:123: bad magic (found 0x8f36; wanted 0x4552
grub-core/kern/disk.c:326: Closing `lvm/sae-files'.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: Partition 0 starts from 40.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-probe: info: Looking for /dev/sdc1.
grub-probe: info: /dev/sdc1 starts from 40.
grub-probe: info: opening the device hostdisk//dev/sdc.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdc'...
grub-probe: info: the size of hostdisk//dev/sdc is 1953525168.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdc'...
grub-probe: info: the size of hostdisk//dev/sdc is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdc' in open_device()
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-probe: info: scanning hostdisk//dev/sdc for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdc1' in open_device()
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc1'
grub-core/disk/diskfilter.c:806: Found array md/md0
grub-probe: info: Found array md/md0.
grub-core/disk/diskfilter.c:1003: Inserting hostdisk//dev/sdc into md/md0 (mdraid09)
grub-probe: info: Inserting hostdisk//dev/sdc into md/md0 (mdraid09)
.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdc'...
grub-probe: info: the size of hostdisk//dev/sdc is 1953525168.
grub-core/partmap/apple.c:123: bad magic (found 0x3b4f; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdc'.
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: Partition 0 starts from 40.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdc'.
grub-probe: info: Looking for /dev/sdb1.
grub-probe: info: /dev/sdb1 starts from 40.
grub-probe: info: opening the device hostdisk//dev/sdb.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-probe: info: the size of hostdisk//dev/sdb is 1953525168.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-probe: info: the size of hostdisk//dev/sdb is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdb' in open_device()
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdb1' in open_device()
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb1'
grub-core/disk/diskfilter.c:1003: Inserting hostdisk//dev/sdb into md/md0 (mdraid09)
grub-probe: info: Inserting hostdisk//dev/sdb into md/md0 (mdraid09)
.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-probe: info: the size of hostdisk//dev/sdb is 1953525168.
grub-core/partmap/apple.c:123: bad magic (found 0x3b4f; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: Partition 0 starts from 40.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
util/getroot.c:1822: /dev/dm-4 is an LVM
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-label.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to block.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to sae.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-label.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to block.
grub-probe: info: Looking for /dev/sda1.
grub-probe: info: /dev/sda1 starts from 40.
grub-probe: info: opening the device hostdisk//dev/sda.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sda' in open_device()
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: Partition 0 starts from 40.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-probe: info: Looking for /dev/sdc1.
grub-probe: info: /dev/sdc1 starts from 40.
grub-probe: info: opening the device hostdisk//dev/sdc.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdc'...
grub-probe: info: the size of hostdisk//dev/sdc is 1953525168.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdc'...
grub-probe: info: the size of hostdisk//dev/sdc is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdc' in open_device()
grub-probe: info: scanning hostdisk//dev/sdc for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc.
grub-core/partmap/apple.c:123: bad magic (found 0x3b4f; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdc'.
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: Partition 0 starts from 40.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdc'.
grub-probe: info: Looking for /dev/sdb1.
grub-probe: info: /dev/sdb1 starts from 40.
grub-probe: info: opening the device hostdisk//dev/sdb.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-probe: info: the size of hostdisk//dev/sdb is 1953525168.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-probe: info: the size of hostdisk//dev/sdb is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdb' in open_device()
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-core/partmap/apple.c:123: bad magic (found 0x3b4f; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: Partition 0 starts from 40.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
util/getroot.c:1822: /dev/dm-4 is an LVM
grub-probe: info: opening lvm/sae-boot.
grub-core/kern/disk.c:230: Opening `lvm/sae-boot'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sda' in open_device()
grub-probe: info: scanning hostdisk//dev/sda for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sda'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdc'...
grub-probe: info: the size of hostdisk//dev/sdc is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdc' in open_device()
grub-probe: info: scanning hostdisk//dev/sdc for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdc'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdc.
grub-core/partmap/apple.c:123: bad magic (found 0x3b4f; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0xeb63; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdc'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-probe: info: the size of hostdisk//dev/sdb is 1953525168.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-probe: info: no LVM signature found.
grub-core/kern/emu/hostdisk.c:851: opening the device `/dev/sdb' in open_device()
grub-probe: info: scanning hostdisk//dev/sdb for LDM.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-probe: info: no LDM signature found.
grub-core/kern/emu/hostdisk.c:829: reusing open device `/dev/sdb'
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/gpt.c:87: Read a valid GPT header
grub-core/partmap/gpt.c:111: GPT entry 0: start=40, length=1953525095
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-core/partmap/apple.c:123: bad magic (found 0x3b4f; wanted 0x4552
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/msdos.c:172: partition 0: flag 0x0, type 0xee, start 0x1, len 0x74706daf
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/kern/disk.c:312: Opening `lvm/sae-boot' failed.
grub-core/kern/disk.c:326: Closing `lvm/sae-boot'.
grub-probe: error: disk `lvm/sae-boot' not found.

To me it looks like grub-probe is finding LVM data straight from /dev/sda and not /dev/md0, but I can't be sure since I'm no grub expert....  This is with grub-2.00beta2, by the way.

Thanks,

Kevin Murphy <kemurphy>

 

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

Attached Files
file #25630:  diskfilter.diff added by phcoder (2KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gondsman (Posted a comment)
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by kemurphy (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-18 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2012-04-11 phcoder Attached File- Added diskfilter.diff, #25630

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code