≡ Menu

Linux LVM error VG meta data inconsistent and Solution

Q. How do I fix the following error under CentOS Enterprise Linux:

LVM error VG meta data inconsistent

How do I fix this problem?

A. You need to use lvm command, which provides the command-line tools for LVM2. In order to fix this problem boot your Linux into rescue mode or a single user mode:

First, you need to restore the VG Meta data, enter:
lvm vgcfgrestore VG

Now, you need to rescan for physical devices and vol groups (scan all disks for physical volume), enter:
lvm pvscan
lvm vgscan

Finally, make the volume group active, enter:
lvm vgchange -ay VG

For more information read lvm man page:
man lvm

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 2 comments… add one }

  • sanju May 24, 2009, 5:47 am

    i want to learn LVM

  • Bashu Khan June 28, 2009, 3:03 am

    Although each change in volume groups gets backed up in meta data repo /etc/lvm/backup/ by default, however, I believe this won’t revert to the last fully functioning state or semi state because it may be the very same modification causing the corrupting or inconsistency as suggested in redhat.com link.

Leave a Comment