All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brown <lvm@davidb.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Incorrect metadata area header checksum
Date: Sun, 3 Feb 2008 19:06:48 -0800	[thread overview]
Message-ID: <20080204030648.GA24285@old.davidb.org> (raw)
In-Reply-To: <1202062464.14540.27.camel@localhost.localdomain>

On Sun, Feb 03, 2008 at 07:14:24PM +0100, Eckhard Kosin wrote:

>I just changed the filter rule to
>  
>  filter = [ "r|/dev/cdrom|", "r|^/dev/hda[1,6,7]$|" ]
>
>Now, hda10 will be found, but I get the "Incorrect metadata area header
>checksum" complain from the scanning of hda7:  A citation from the
>output of "vgdisplay -vvv":
>
>...
>        Opened /dev/hda7 RO O_DIRECT
>        /dev/hda7: block size is 1024 bytes
>      /dev/hda7: lvm2 label detected
>        Closed /dev/hda7
>        lvmcache: /dev/hda7 now orphaned
>        Opened /dev/hda7 RO O_DIRECT
>        /dev/hda7: block size is 1024 bytes
>  Incorrect metadata area header checksum
>        Closed /dev/hda7
>        Opened /dev/vg_uhu00/var_cache_rsnapshot RO O_DIRECT

Ok, the problem here isn't that you should have to create filter rules to
eliminate these volumes, but that it thinks it is finding an lvm2 label on
the volume.

I'm going to guess that at some point, these partitions had an LVM label on
them, and then a regular filesystem was placed on them.  Several
filesystems don't overwrite the first 1k or so of the volume, so the label
isn't going to be obliterated, just corrupted.

Can you do something like:

   dd if=/dev/hda7 bs=1k count=1 | hexdump -C

You'll probably find that there is a lvm2 label there.  I'm not sure of a
safe way of elminiating it.

David

  reply	other threads:[~2008-02-04  3:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-03  2:18 [linux-lvm] Incorrect metadata area header checksum Eckhard Kosin
2008-02-03  4:15 ` David Robinson
2008-02-03 12:21   ` Alasdair G Kergon
2008-02-03 18:14     ` Eckhard Kosin
2008-02-04  3:06       ` David Brown [this message]
2008-02-04 10:36         ` Alasdair G Kergon
  -- strict thread matches above, loose matches on Subject: below --
2014-09-19  3:33 Boylan, Ross
2006-11-02 13:38 C'est Pierre
2006-11-02 22:02 ` Luca Berra
2006-03-11  2:43 Bernard Fay
2005-10-18 12:24 Eric S. Johansson
2005-05-12  0:44 [linux-lvm] incorrect " Geoff
2003-06-02  9:34 [linux-lvm] Incorrect " jeff
2003-06-02 10:23 ` Alasdair G Kergon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080204030648.GA24285@old.davidb.org \
    --to=lvm@davidb.org \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.