Please help, [Incorrect metadata area header checksum]
Hello list,
i've got a (hopefully not) serious problem with my lvm installation.
I did some changes in my XEN-networking and wanted to reboot my server. For this I did shutdown every DOM-U and tried to stop lvm with 'vgchange -a n'. At this point lvm states 'Incorrect metadata area header checksum', before this every worked fine. I tried to start lvm immediately without success, a reboot didn't help either.
I searched the net (almost two days now) for a solution, without success.
1) It's not a filter-issue (lvm.conf), only loop-devices are scanned.
2) vgcfgrestore doesn't work either (tried only testrun)
3) pvcreate --uuid xxx --restorefile /etc/lvm/archive/xxx_00039.vg xxx says, the uuid is already in use on /dev/loopX (correct device). I didn't try the '--force'-option, I'm a coward at last :(
The last change (and reboot) was in november. I added two new drives and growed the raid, rebooted the server and growed one lv. All without any error. There's only one PV.
If you need any information (configs etc), I'll post everything ;)
--- snip ---
$>pvscan
Incorrect metadata area header checksum
Incorrect metadata area header checksum
WARNING: Volume Group alice is not consistent
PV /dev/loop53 VG alice lvm2 [6.37 TB / 408.57 GB free]
Total: 1 [376.57 GB] / in use: 1 [376.57 GB] / in no VG: 0 [0 ]
Any help is appreciated!
greets
ralf
Could you do a 'pvscan -vvvv' and post (attach) the output?
You could also copy the first several MB of the PVs that compose "alice". We could then either look directly at them, or you could feel free to be more brave with #2 and #3 below - given that you will have a backup of the front of each disk.
brassow
Quoted 46 lines · me
Hello list,
i've got a (hopefully not) serious problem with my lvm installation.
I did some changes in my XEN-networking and wanted to reboot my server. For this I did shutdown every DOM-U and tried to stop lvm with 'vgchange -a n'. At this point lvm states 'Incorrect metadata area header checksum', before this every worked fine. I tried to start lvm immediately without success, a reboot didn't help either.
I searched the net (almost two days now) for a solution, without success.1) It's not a filter-issue (lvm.conf), only loop-devices are scanned.
2) vgcfgrestore doesn't work either (tried only testrun)
3) pvcreate --uuid xxx --restorefile/etc/lvm/archive/xxx_00039.vgxxx says, the uuid is already in use on/dev/loopX(correct device). I didn't try the '--force'-option, I'm a coward at last :(The last change (and reboot) was in november. I added two new drives and growed the raid, rebooted the server and growed one lv. All without any error. There's only one PV.
If you need any information (configs etc), I'll post everything ;)
--- snip ---
$>pvscan
Incorrect metadata area header checksum
Incorrect metadata area header checksum
WARNING: Volume Group alice is not consistent
PV/dev/loop53VG alice lvm2 [6.37 TB / 408.57 GB free]
Total: 1 [376.57 GB] / in use: 1 [376.57 GB] / in no VG: 0 [0 ]Any help is appreciated!
greets
ralf_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Jonathan,
thanks for the reply. I fixed the problem with 'pvcreate' & 'vgcfgrestore'. The real problem sat in front of the keyboard (as always :) ). I missed an argument for pvcreate. I didn't specify my physicalvolume, instead I put my vgname 'alice' instead of /dev/loop as an argument. After that, I run vgcfgrestore and everything is fine again :)
Ralf
Quoted 68 lines · Jonathan Brassow
Could you do a 'pvscan -vvvv' and post (attach) the output?
You could also copy the first several MB of the PVs that compose "alice". We could then either look directly at them, or you could feel free to be more brave with #2 and #3 below - given that you will have a backup of the front of each disk.
brassow
Quoted 45 lines · me
Hello list,
i've got a (hopefully not) serious problem with my lvm installation.
I did some changes in my XEN-networking and wanted to reboot my server.
For this I did shutdown every DOM-U and tried to stop lvm with 'vgchange
-a n'. At this point lvm states 'Incorrect metadata area header checksum', before this every worked fine. I tried to start lvm immediately without success, a reboot didn't help either. I searched the net (almost two days now) for a solution, without success.1) It's not a filter-issue (lvm.conf), only loop-devices are scanned.
2) vgcfgrestore doesn't work either (tried only testrun)
3) pvcreate --uuid xxx --restorefile/etc/lvm/archive/xxx_00039.vgxxx says, the uuid is already in use on/dev/loopX(correct device). I didn't try the '--force'-option, I'm a coward at last :(The last change (and reboot) was in november. I added two new drives and
growed the raid, rebooted the server and growed one lv. All without any
error. There's only one PV.If you need any information (configs etc), I'll post everything ;)
--- snip ---
$>pvscan
Incorrect metadata area header checksum
Incorrect metadata area header checksum
WARNING: Volume Group alice is not consistent
PV/dev/loop53VG alice lvm2 [6.37 TB / 408.57 GB free]
Total: 1 [376.57 GB] / in use: 1 [376.57 GB] / in no VG: 0 [0 ]Any help is appreciated!
greets
ralfQuoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/