SRA Lab Open Source Code

6Dec/053

LVM – Incorrect metadata area header checksum

If LVM2 shows some warnings like “Incorrect metadata area header checksum”, it’s certainly because it checks some partitions without LVM support (x8e). The filesystem works fine with this message but you can get rid of it, exclude not LVM partitions by editing /etc/lvm/lvm.conf :

filter = [ “r|/dev/cdrom|”, “r|/dev/hda1|”, “r|/dev/hda3|” ]

Use fdisk to know the partitions to exclude and run vgscan to test.

Tagged as: Leave a comment
  • Shank

    Great article. I was having the problem where pvscan returns

    Incorrect metadata area header checksum
    Incorrect metadata area header checksum
    Incorrect metadata area header checksum

    blah blah….

    but after adding the following line to the lvm.conf file (/etc/lvm/lvm.conf)

    filter = ["r|/dev/XXX/c0d0p1|","r|/dev/XXX/c0d0p2|","a/.*/" ]

    I was able to remove the error

    -S

  • herbert

    I currently running openfiler 2.3 and With 2 ext3 partitions and 3 iscsi partitions. The problem began last sat when I can’t connect to the ISCSI partitions anymore. I tried delete the ISCSI partition and recreate them. Still same error SCSI Serial No. and SCSI ID “Incorrect metada”.. So I removed all the ISCSI partitions. The system still showing this error

    Incorrect metadata area header checksum
    Found volume group “datastore_01″ using metadata type lvm2
    Found volume group “datastore_02″ using metadata type lvm2

    datastore01 and datastore02 is the two ext3 partitions and they seem working fine (I can read and write). Can you point me the right direction for a solution to fix this problem?

  • http://unix.openmilano.com emman

    thanks for this nice post