All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabian Wenzel <f.wenzel@gmx.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM on Raid-5 woes...
Date: Fri, 20 Jan 2006 12:15:56 +0100	[thread overview]
Message-ID: <43D0C66C.3040609@gmx.net> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello there!

Currently I am trying to set up LVM on top of RAID-5. I am using Kernel
2.6.12.2, device-mapper 1.01.04-r2 and lvm2 2.01.15-r1 on an NSLU2 (big
endian ARM) with three USB hard disks connected (two via a hub).

My problem is that I cannot create any volume groups; even physical
volumes cause trouble: After typing

root@platon:/etc# pvcreate /dev/md0

the messages of "pvscan" randomly change without doing anything in
between - sometimes two error messages appear, sometimes there are three
(see attachment 1).

Similar things happen when trying to set up a volume group with

root@platon:/etc# vgcreate -s 64M data /dev/md0
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Volume group "data" successfully created


When scanning for volume groups using "vgscan", error messages change,
but the volume group is never found (see attachment 2).


I set up the device-filter in lvm.conf correctly such that only
md-devices are detected: When increasing the loglevel, it can be seen
that the errors are indeed related to the md-device (see attachment 3).

The weird thing is the fact that errors change from call to call. So
this must be a timing problem (I don't have another explanation for
it)?! However, I could write an ext3-file system to /dev/md0 and mount
it afterwards without any problems.

If anyone could help me, that'd be great!

	Fabian


- -----------------------------------------------------------------------
Attachment 1:

root@platon:/etc# pvscan /dev/md0
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  PV /dev/md0         lvm2 [372.28 GB]
  Total: 1 [372.28 GB] / in use: 0 [0   ] / in no VG: 1 [372.28 GB]
root@platon:/etc# pvscan /dev/md0
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  PV /dev/md0         lvm2 [372.28 GB]
  Total: 1 [372.28 GB] / in use: 0 [0   ] / in no VG: 1 [372.28 GB]

- -----------------------------------------------------------------------
Attachment 2:

root@platon:/etc# vgscan
  Reading all physical volumes.  This may take a while...
  Incorrect metadata area header checksum
root@platon:/etc# vgscan
  Reading all physical volumes.  This may take a while...
  No volume groups found
root@platon:/etc# vgscan
  Reading all physical volumes.  This may take a while...
  Incorrect metadata area header checksum

- -----------------------------------------------------------------------
Attachment 2:

#label/label.c:168       /dev/md0: lvm2 label detected
#device/dev-io.c:484         Closed /dev/md0
#device/dev-io.c:438         Opened /dev/md0 RO O_DIRECT
#device/dev-io.c:134         /dev/md0: block size is 4096 bytes
#format_text/format-text.c:136   Incorrect metadata area header checksum
#format_text/format-text.c:838         <backtrace>
#device/dev-io.c:484         Closed /dev/md0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD0MZsbJzYO4mghQIRAhYlAJ0RdWYmBfv0XTP0bJVrItwYwtoGfACfejc9
x0CRv9U3gNtZANXEQXP5yVs=
=Z1NP
-----END PGP SIGNATURE-----

             reply	other threads:[~2006-01-20 11:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-20 11:15 Fabian Wenzel [this message]
2006-01-20 14:28 ` [linux-lvm] LVM on Raid-5 woes Michael Loftis
2006-01-20 14:29 ` Michael Loftis
2006-01-20 15:22   ` Fabian Wenzel

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=43D0C66C.3040609@gmx.net \
    --to=f.wenzel@gmx.net \
    --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.