[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-lvm
Subject: [linux-lvm] [help] how to deal with Incorrect metadata area header
From: "Zhen Zhou" <zhouzhenzj () gmail ! com>
Date: 2008-06-11 8:11:41
Message-ID: ad41208c0806110111t6290e5a5yf8e03ce1766362c4 () mail ! gmail ! com
[Download RAW message or body]
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
["VolGroup00_00000.txt" (text/plain)]
# Generated by LVM2 version 2.02.33 (2008-01-31): Wed Jun 11 15:22:25 2008
contents = "Text Format Volume Group"
version = 1
description = "Created *before* executing 'vgscan -P --mknodes --ignorelockingfailure'"
creation_host = "(none)" # Linux (none) 2.6.25.04-fd17 #1 SMP Wed Jun 4 20:54:08 UTC 2008 i686
creation_time = 1213197745 # Wed Jun 11 15:22:25 2008
VolGroup00 {
id = "Jt5E71-u5LD-UBOE-byPb-KSAw-YoHD-th1lSa"
seqno = 13
status = ["RESIZEABLE", "READ", "WRITE"]
extent_size = 65536 # 32 Megabytes
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "P3ynoH-5qya-7caY-pG9a-7eM2-E926-ps71lU"
device = "/dev/sda3" # Hint only
status = ["ALLOCATABLE"]
dev_size = 63488880 # 30.2739 Gigabytes
pe_start = 384
pe_count = 968 # 30.25 Gigabytes
}
pv1 {
id = "XKNeCl-NEvJ-W4hf-U1kY-ba3u-RSbk-Xodg1y"
device = "/dev/sda2" # Hint only
status = ["ALLOCATABLE"]
dev_size = 212170455 # 101.171 Gigabytes
pe_start = 384
pe_count = 3237 # 101.156 Gigabytes
}
pv2 {
id = "3sLNUW-uCl4-Lppl-QWNZ-JY2O-YMdM-WYhrpo"
device = "/dev/sda1" # Hint only
status = ["ALLOCATABLE"]
dev_size = 401562 # 196.075 Megabytes
pe_start = 384
pe_count = 6 # 192 Megabytes
}
pv3 {
id = "vLXdUR-avUY-NcrF-GxTq-9v0k-TZRh-btvWRA"
device = "/dev/sda5" # Hint only
status = ["ALLOCATABLE"]
dev_size = 212331042 # 101.247 Gigabytes
pe_start = 384
pe_count = 3239 # 101.219 Gigabytes
}
}
logical_volumes {
LogVol02 {
id = "6HriQy-wmrK-EuO4-lVRT-5lBd-ar7L-Em65jD"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 2
segment1 {
start_extent = 0
extent_count = 455 # 14.2188 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 0
]
}
segment2 {
start_extent = 455
extent_count = 3200 # 100 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv3", 0
]
}
}
LogVol01 {
id = "Xl65ML-s5oJ-FH9g-PYo7-0eB9-p7eV-WUJ6SB"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 256 # 8 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 455
]
}
}
LogVol00 {
id = "WgaUTH-NB4q-QZ90-0HNz-VO8r-PhbT-8LhhWy"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 256 # 8 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 711
]
}
}
LogVol03 {
id = "S7daEG-6cQQ-O2tZ-4NJz-ggGC-sbZv-YpOTdR"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 2
segment1 {
start_extent = 0
extent_count = 3237 # 101.156 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv1", 0
]
}
segment2 {
start_extent = 3237
extent_count = 1 # 32 Megabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 967
]
}
}
}
}
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic