All of lore.kernel.org
 help / color / mirror / Atom feed
* unknown LVM metadata header errors
@ 2011-10-17 20:05 Phillip Susi
  2011-10-17 20:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2011-10-17 20:05 UTC (permalink / raw)
  To: The development of GNU GRUB

When running update-grub, I get several lines of:

error: unknown LVM metadata header.

This appears to be caused by grub-probe locating the LVM PV label sector
on the underlying physical disk ( hd3,msdos1 ), and incorrectly
following the pointer to the mda header.  At this point, it has already
scanned the 4 physical disks, found the first partition on them, found
the mdadm 1.0 superblock, and correctly located the LVM PV label sector
inside (md/0).  The first few sectors of (md/0) ( 4 disk raid-5 array ) 
are aliased to (hd3,msdos1), but obviously the offsets are wrong since 
they are relative to the md array, not the disk partition.

My first thought was that once the mdadm superblock is found on the 
partition, that should take ownership of it and prevent scanning for 
LVM, but theoretically it is possible to have mdadm inside LVM instead 
of the other way around, and that would no longer work if you didn't 
scan for both.

Any ideas on what could be done to get rid of this error?




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unknown LVM metadata header errors
  2011-10-17 20:05 unknown LVM metadata header errors Phillip Susi
@ 2011-10-17 20:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-10-17 20:47 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1440 bytes --]

On 17.10.2011 22:05, Phillip Susi wrote:
> When running update-grub, I get several lines of:
>
> error: unknown LVM metadata header.
>
While this message is verbose, it doesn't actually prevent GRUB from
working and you report refers to no other problem
> This appears to be caused by grub-probe locating the LVM PV label sector
> on the underlying physical disk ( hd3,msdos1 ), and incorrectly
> following the pointer to the mda header.  At this point, it has already
> scanned the 4 physical disks, found the first partition on them, found
> the mdadm 1.0 superblock, and correctly located the LVM PV label sector
> inside (md/0).  The first few sectors of (md/0) ( 4 disk raid-5 array
> ) are aliased to (hd3,msdos1), but obviously the offsets are wrong
> since they are relative to the md array, not the disk partition.
>
> My first thought was that once the mdadm superblock is found on the
> partition, that should take ownership of it and prevent scanning for
> LVM, but theoretically it is possible to have mdadm inside LVM instead
> of the other way around, and that would no longer work if you didn't
> scan for both.
>
> Any ideas on what could be done to get rid of this error?
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-17 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 20:05 unknown LVM metadata header errors Phillip Susi
2011-10-17 20:47 ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.