[linux-lvm] LVM don't work anymore (wrong version?)

Heinz J. Mauelshagen Mauelshagen at sistina.com
Wed Feb 14 17:26:10 UTC 2001


On Wed, Feb 14, 2001 at 11:15:53AM +0100, Jean-Eric Cuendet wrote:
> 
> Hi,
> I'm using LVM 0.9.1_beta3 since 2 weeks now without any problem.
> I'm having a problem now.
> I have one VG and one LV in it.
> I need to create another VG made of 3 PVs.
> I issue:
> [root at fatboy hosts]# pvcreate -f /dev/md7
> pvcreate -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run
> vgscan
> What's that?

You shouldn't be able to get that message with LVM 0.9.1 beta3 at all.
Are you by accident using an older version?

> 
> When running vgscan:
> [root at fatboy hosts]# vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- no volume groups found
> 
> What can I do with that?
> Thanks
> -jec
> 
> PS: I already tried to upgrade to beta4 (only the tools). If you want me to
> upgrade the kernel to beta4, wait this evening :-) (prod machine)

Yes, please try that.

If vgscan still complains and you have your /etc/lvmconf/vg.conf (assuming
that your VG is named vg :) VGDA backup file you can reactivate your
VG with:

rm -rf /etc/lvmtab*
mkdir /etc/lvmtab.d
echo -ne "vg\0" > /etc/lvmtab
cp /etc/lvmconf/vg.conf /etc/lvmtab.d/vg
vgchange -ay

> 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> Jean-Eric Cuendet
> Linkvest SA
> Av des Baumettes 19, 1020 Renens Switzerland
> Tel +41 21 632 9043  Fax +41 21 632 9090
> http://www.linkvest.com  E-mail: jean-eric.cuendet at linkvest.com
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

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