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

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Jun 21 06:11:02 UTC 2002


On Fri, Jun 21, 2002 at 05:47:49PM +0800, Catherine Shen wrote:
> 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?

Nope, everything should work without those.
Looks like a bug, if you can reproduce it.

Could you send the before/after metadata to me directly <mge at sistina.com>
for further investigation?

Please retrieve it with *before* the problem occurs and another
time *after* it occurs and replace "WHEN" below with before or after
respectively:

#!/bin/bash
mkdir /tmp/vgda
cd /tmp/vgda
for p in ListOfAllPVsOfTheVG
do
	dd if=$p of=$(basename $p).vgda bs=1k count=4k
done
tar cvf - *vgda | bzip2 -c > Catherine_Shen${WHEN}.vgda.tar.bz2
rm *vgda


> 
> 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ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿåŠ{±þ[晨¥Šx%ŠËeŠ{±þ[æþȬ¶)ÚýÊ&†ÛiÿÿåŠËlþȬ¶)ÚýÊ&þf¢–f§þX¬¶)ߣùbžìÿ–ù«y§m
âÕ0s–ý3š¶mÿÿÿÃ
ÿ²+-Švÿr‰¿–ù¿=¨
³øhÂÚÿ†Ù¥
-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list