[linux-lvm] LVM 1.0.3 VGDA corrupted often ??

Catherine Shen catherineShen at iei.com.tw
Fri Jun 21 04:53:02 UTC 2002


Hi,

Has anyone found the VGDA corrupted very often?
message --
	"ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan"

I create a volume group "MainVG" and several LVs (and some snapshots) in it.
After creating and removing the logical volumes or snapshots for several times,
the VGDA error message comes up easily.
And after "vgscan", my "MainVG" is gone.
(But the mounted LVs work fine until next boot??)

Should I execute "sync" every time I make changes to my LVs?
Or should I execute "vgcfgbackup" and restore them if the error occurs?

BTW, I resized a LV today and execute "resize2fs"; but after mounting the LV again,
the size was not what I expected??
My command : "resize2fs -f /dev/MainVG/LV1"
no error message at all??

Thanks in advance!!

Catherine


More information about the linux-lvm mailing list