[linux-lvm] [help] how to deal with Incorrect metadata area header checksum in LVM

Zhen Zhou zhouzhenzj at gmail.com
Wed Jun 11 08:11:41 UTC 2008


Dear all,

I guess I did stupid way to handle the lvm.

Now the situation is:

root %lvscan
  Incorrect metadata area header checksum
  inactive          '/dev/VolGroup00/LogVol02' [114.22 GB] inherit
  inactive          '/dev/VolGroup00/LogVol01' [8.00 GB] inherit
  inactive          '/dev/VolGroup00/LogVol00' [8.00 GB] inherit
  inactive          '/dev/VolGroup00/LogVol03' [101.19 GB] inherit

root %  vgchange -ay VolGroup00

Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Volume group VolGroup00 metadata is inconsistent
  Volume group for uuid not found:
Jt5E71u5LDUBOEbyPbKSAwYoHDth1lSa6HriQywmrKEuO4lVRT5lBdar7LEm65jD
  Incorrect metadata area header checksum
  Volume group VolGroup00 metadata is inconsistent
  Volume group for uuid not found:
Jt5E71u5LDUBOEbyPbKSAwYoHDth1lSaXl65MLs5oJFH9gPYo70eB9p7eVWUJ6SB
  Incorrect metadata area header checksum
  Volume group VolGroup00 metadata is inconsistent
  Volume group for uuid not found:
Jt5E71u5LDUBOEbyPbKSAwYoHDth1lSaWgaUTHNB4qQZ900HNzVO8rPhbT8LhhWy
  Incorrect metadata area header checksum
  Volume group VolGroup00 metadata is inconsistent
  Volume group for uuid not found:
Jt5E71u5LDUBOEbyPbKSAwYoHDth1lSaS7daEG6cQQO2tZ4NJzggGCsbZvYpOTdR
  0 logical volume(s) in volume group "VolGroup00" now active

root % pvscan
  Incorrect metadata area header checksum
  PV /dev/sda3   VG VolGroup00   lvm2 [30.25 GB / 0    free]
  PV /dev/sda2   VG VolGroup00   lvm2 [101.16 GB / 0    free]
  PV /dev/sda1   VG VolGroup00   lvm2 [192.00 MB / 192.00 MB free]
  PV /dev/sda5   VG VolGroup00   lvm2 [101.22 GB / 1.22 GB free]
  Total: 4 [232.81 GB] / in use: 4 [232.81 GB] / in no VG: 0 [0   ]

Now I have no idea how to deal with it, I refered some articles:
http://www.novell.com/coolsolutions/appnote/19386.html, whatever I tried
'vgcfgrestore VolGroup00':

root  % vgcfgrestore VolGroup00
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Restore failed.

So what is the right way to recover these lvm?

Any tips will be welcome! Thanks in advanced,

BTW: the attached is lvm metadata file. More detail information
needed, pls tell me.


Zhou Zhen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: VolGroup00_00000.txt
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20080611/282696e9/attachment.txt>


More information about the linux-lvm mailing list