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
Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!


{ 0 comments… add one now }