Error "Incorrect metadata area header checksum" comes on pvscan
Environment
- Red Hat Enterprise Linux
- LVM
Issue
- Error "Incorrect metadata area header checksum" comes on pvscan command:
Finding volume group "vgxorasapPRD"
Fixing up missing size (34.04 GB) for PV /dev/emcpowere1
Fixing up missing size (17.02 GB) for PV /dev/emcpowerl1
Resolution
-
These errors come when the pv's are too large or missing/overwritten.
Fixing up missing size (34.04 GB) for PV /dev/emcpowere1 Fixing up missing size (17.02 GB) for PV /dev/emcpowerl1 -
Which is evident from the output of pvs
- Incorrect metadata area header checksum
Fixing up missing size (34.04 GB) for PV /dev/emcpowere1 Fixing up missing size (17.02 GB) for PV /dev/emcpowerl1 -
Update the metadata by executing
[root@host ~]# vgchange -xn
- Then:
[root@host ~]# vgchange -xy
Root Cause
- The old metadata of lvm was causing the problem. Updating the metadata fixed it.
SBR
Product(s)
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.