[linux-lvm] LVM1 - "VGDA in kernel and lvmtab are NOT consistent"error following lvm operations

Dave davo_muc at yahoo.com
Mon Jul 31 10:50:36 UTC 2006

Hi again,

Some more information re: this problem.  On the 2 (clustered) systems current displaying this error, I see four disks which are being report by pvscan as "inactive" and "exported".  They are reported this way by both hosts, however, the file systems that rely on these four disks are actually mounted an in use on one system.

Thus, my question is, how can I "alert" lvm as to the real status of these disks and have it update it's status information?  If I run vgimport or vgchange to try and get the status right, will that affect the already mounted file systems (which rely on those volume groups)?


----- Original Message ----
From: Dave <davo_muc at yahoo.com>
To: LVM general discussion and development <linux-lvm at redhat.com>
Sent: Monday, July 31, 2006 10:50:16 AM
Subject: Re: [linux-lvm] LVM1 - "VGDA in kernel and lvmtab are NOT consistent"error following lvm operations


I have slightly more info re: this error message I'm seeing.  After running vgdisplay and getting the message:

    VGDA in kernel and lvmtab are NOT consistent

I issued an $? to see the exit code and it was 98, which is explained as:

    invalid lvmtab (run vgscan(8))

in the vgdisplay man page.  How does the lvmtab become invalid?  

I do not want to have to reboot (because this will cause an outage for our customers), but I know from previous experience that the error message will disappear following a reboot.  I'm also hesitant to add new disks, vg's, lv's, and file systems until I can run vgdisplay without an error.  Should I be concerned re: this message???


linux-lvm mailing list
linux-lvm at redhat.com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list