Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] lvm-problems. vgda inconsistency
@ 2002-12-16  2:23 Dieter Franzke
  2002-12-16  9:58 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Franzke @ 2002-12-16  2:23 UTC (permalink / raw)
  To: linux-lvm

Hi,

I've created a pv, vg and lv
via pvcreate, vgcreate and lvcreate.
Everything went well.
But when I tried to  initialize a filesystem via mkfs.xfs I get following 
error:

VGDA in Kernel and lvmtab are NOT consistent; please run vgscan

When I run vgscan nothing is changed.
How can I fix this without rebooting?

any hints?

ciao

dieter

-- 
registered linuxuser 199810
it's time to close windows....

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] lvm-problems. vgda inconsistency
  2002-12-16  2:23 [linux-lvm] lvm-problems. vgda inconsistency Dieter Franzke
@ 2002-12-16  9:58 ` Heinz J . Mauelshagen
  2002-12-16 11:10   ` Dieter Franzke
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J . Mauelshagen @ 2002-12-16  9:58 UTC (permalink / raw)
  To: linux-lvm

On Mon, Dec 16, 2002 at 09:23:58AM +0100, Dieter Franzke wrote:
> Hi,
> 
> I've created a pv, vg and lv
> via pvcreate, vgcreate and lvcreate.
> Everything went well.
> But when I tried to  initialize a filesystem via mkfs.xfs I get following 
> error:
> 
> VGDA in Kernel and lvmtab are NOT consistent; please run vgscan
> 
> When I run vgscan nothing is changed.
> How can I fix this without rebooting?

Rebooting won't help this. vgscan _reads_ the LVM metadata on the PVs
and tries to update the working copies of the metadata in /etc/lvmtab*.
No change to the metadata on the PVs happens during a vgscan run.

Does vgscan display any error?
What does vgck display?

vgck should check the ondisk metadata fine or we need to restore it
from archive copies in /etc/lvmconf/ (please save those!)

> 
> any hints?
> 
> ciao
> 
> dieter
> 
> -- 
> registered linuxuser 199810
> it's time to close windows....
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] lvm-problems. vgda inconsistency
  2002-12-16  9:58 ` Heinz J . Mauelshagen
@ 2002-12-16 11:10   ` Dieter Franzke
  0 siblings, 0 replies; 3+ messages in thread
From: Dieter Franzke @ 2002-12-16 11:10 UTC (permalink / raw)
  To: linux-lvm, Heinz J . Mauelshagen

Hi,

Am Montag, 16. Dezember 2002 16:48 schrieb Heinz J . Mauelshagen:
> On Mon, Dec 16, 2002 at 09:23:58AM +0100, Dieter Franzke wrote:
> > Hi,
> >
> > I've created a pv, vg and lv
> > via pvcreate, vgcreate and lvcreate.
> > Everything went well.
> > But when I tried to  initialize a filesystem via mkfs.xfs I get following
> > error:
> >
> > VGDA in Kernel and lvmtab are NOT consistent; please run vgscan
> >
> > When I run vgscan nothing is changed.
> > How can I fix this without rebooting?
>
> Rebooting won't help this. vgscan _reads_ the LVM metadata on the PVs
> and tries to update the working copies of the metadata in /etc/lvmtab*.
> No change to the metadata on the PVs happens during a vgscan run.
>
> Does vgscan display any error?

2 VGs were recognized, the 3rd (the last I've created) isn't displayed.


> What does vgck display?

VGDA in Kernel and lvmtab are NOT consistent; please run vgscan

>
> vgck should check the ondisk metadata fine or we need to restore it
> from archive copies in /etc/lvmconf/ (please save those!)

in my /etc/lvm-conf there is .conf of my third VG  /etc/lvm-conf/daten.conf

vgcfgrestore -n daten -t /dev/sda1 works fine
backup of VolumeGroup "daten" is consistent

an the option -l works also fine.

but a vgcfgrestore -n daten -f /etc/lvm-conf/daten.conf /dev/sda1
displays: can't restore part of active Volume group daten.

But vgscan says: daten isn't existent.
shows only buero, datenbu

ciao

dieter


-- 
registered linuxuser 199810
it's time to close windows....

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-16 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-16  2:23 [linux-lvm] lvm-problems. vgda inconsistency Dieter Franzke
2002-12-16  9:58 ` Heinz J . Mauelshagen
2002-12-16 11:10   ` Dieter Franzke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox