Skip to contentSkip to conversation

Incorrect metadata area header checksum]

Fwd: Re: Eckhard Kosin 1 participant 1 message Feb 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi Alasdair,

I'm sorry to mail directly to you, but I tried three times without success to post the below listed mail to [email protected] , it doesn't arrive their ;={{ Perhaps you can check the reason, post my mail to our thread in the list, and last but not least, do you have an answer to my problem?

Thank you very much, have a nice day

Ecki

-------- Weitergeleitete Nachricht --------

Quoted 79 lines

Von: Eckhard Kosin <[email protected]>
An: [email protected]
Betreff: Re: [linux-lvm] Incorrect metadata area header checksum
Datum: Tue, 05 Feb 2008 12:52:16 +0100

Am Montag, den 04.02.2008, 10:36 +0000 schrieb Alasdair G Kergon:

Quoted 3 lines · David Brown
Quoted 2 lines

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

Okay, there is a LVM label on hda7:

ecki@uhu:~$ sudo dd if=/dev/hda7 bs=1k count=1 | hexdump -e '"%_p"'
1+0 records in
1+0 records out
1024 bytes (1,0 kB) copied, 6,4e-05 Sekunden, 16 MB/s
.*
LABELONE..*
..$. .*
LVM2 0*
1EWhly9hF5TcIV1KyHfXVUQDBe7S1uf14.P.=..*
..*
..*
...*
Quoted 2 lines

man pvremove

I tried

root@uhu:/home/ecki# umount -l /dev/hda7
root@uhu:/home/ecki# pvremove /dev/hda7
  /dev/hda7: Couldn't find device.  Check your filters?

I changed my filter rule in /etc/lvm/lvm.conf from

filter = [ "r|/dev/cdrom|", "r|^/dev/hda[1,6,7]$|" ]

to

filter = [ "r|/dev/cdrom|", "r|^/dev/hda[1,6]$|" ]

but again no success:

root@uhu:/home/ecki# pvremove /dev/hda7
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Can't open /dev/hda7 exclusively.  Mounted filesystem?
  Device '/dev/hda8' has been left open.
  Device '/dev/hda9' has been left open.
  Device '/dev/hda10' has been left open.
  Device '/dev/hda10' has been left open.
  Device '/dev/hda10' has been left open.
  Device '/dev/hda8' has been left open.
  Device '/dev/hda9' has been left open.
  Device '/dev/hda8' has been left open.
  Device '/dev/hda9' has been left open.
  Device '/dev/evms/hda7' has been left open.
root@uhu:/home/ecki# mount |grep hda
root@uhu:/home/ecki#

You see, /dev/hda7 isn't mounted:-( The problem is "/dev/evms/hda7"? How to resolve it? I append the output of "pvremove -vvvv /dev/hda7". Any suggestions?

Quoted 3 lines

And you really should upgrade lvm2 - that's a 2-year old version with numerous known bugs in it.

The version I use is the version supplied by my Ubuntu distribution 6.06 (which is still supported). I don't like to mix different versions as long as I'm not forced by a bug to do so.

Thanks for your help

Ecki

Quoted 2 lines

Alasdair

Signature · 6 lines
  Eckhard Kosin
  Kaspar-Kerll-Str. 41
D-81245 München, Germany
  Tel.: (+49)(+89) 88 88 479
  Tel., Fax: (+49)(+89) 835 844
  mailto:[email protected]