linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Lee Rocky" <rocky366@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Incorrect metadata are header checksum
Date: Thu, 11 May 2006 19:38:38 +0800	[thread overview]
Message-ID: <539807300605110438i446c188bke97598d6e3105ebe@mail.gmail.com> (raw)

Dear all

I tried to craete pv on my xscale system but failed.
create pv command is successful,
but I got the "Incorrect metadata error when scan pvs.
I'm not sure it's a compilation problem or hard disk problem?

does anyone create pv on arm system before?

best regard and have a nice day
Rocky


output log
------------------------------------------------------------------------------------------------------------------
-bash-3.00# pvcreate /dev/sda2 -vv
      Setting global/locking_type to 1
      Setting global/locking_dir to /var/lock/lvm
      File-based locking enabled.
      Locking /var/lock/lvm/P_orphans WB
      /dev/sda2: No label detected
      /dev/sda2: size is 12048750 sectors
      Setting metadata/pvmetadatasize to 1024
      metadata/pvmetadatacopies not found in config: defaulting to 1
      /dev/sda2: size is 12048750 sectors
    Set up physical volume for "/dev/sda2" with 12047598 available sectors
      Scanning for labels to wipe from /dev/sda2
    Zeroing start of device /dev/sda2
      Writing physical volume data to disk "/dev/sda2"
      /dev/sda2: Writing label to sector 1
  Physical volume "/dev/sda2" successfully created
      Unlocking /var/lock/lvm/P_orphans

-bash-3.00# pvscan
  No matching physical volumes found

-bash-3.00# pvscan -vv
      Setting global/locking_type to 1
      Setting global/locking_dir to /var/lock/lvm
      File-based locking enabled.
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
    Walking through all physical volumes
      /dev/sda: size is 17942584 sectors
      /dev/sda1: size is 5879727 sectors
      /dev/sda1: No label detected
      /dev/sda2: size is 12048750 sectors
      /dev/sda2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/sda2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/sda2: lvm2 label detected
  Incorrect metadata area header checksum
  PV /dev/sda2         lvm2 [5.74 GB]
  Total: 1 [5.74 GB] / in use: 0 [0   ] / in no VG: 1 [5.74 GB]

-bash-3.00# pvscan --version
  LVM version:     2.02.01 (2005-11-23)
  Library version: 1.02.02 (2005-12-02)
  Driver version:  4.4.0

linux Kernel 2.6.15.4

                 reply	other threads:[~2006-05-11 11:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=539807300605110438i446c188bke97598d6e3105ebe@mail.gmail.com \
    --to=rocky366@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).