All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dieter Franzke <lists@franzke-online.de>
To: linux-lvm@sistina.com, "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
Subject: Re: [linux-lvm] lvm-problems. vgda inconsistency
Date: Mon Dec 16 11:10:02 2002	[thread overview]
Message-ID: <200212161810.16866.lists@franzke-online.de> (raw)
In-Reply-To: <20021216164845.A19655@sistina.com>

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....

      reply	other threads:[~2002-12-16 11:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200212161810.16866.lists@franzke-online.de \
    --to=lists@franzke-online.de \
    --cc=linux-lvm@sistina.com \
    --cc=mauelshagen@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.