All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] vgcfgbackup problems
@ 2001-03-13 21:56 Kirth
  2001-03-14  0:16 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Kirth @ 2001-03-13 21:56 UTC (permalink / raw)
  To: linux-lvm

Hi,

        Hans Engren helped me fix my previous problem, so now I can at least
mount the LVM (vgscan still ends up disableing it and I have to re-use
vgcfgrestore to fix the problem). Once I got the LVM backup i thought i'd
use vgcfgbackup, however here I hit a problem:

milita:~# vgcfgbackup
vgcfgbackup -- ERROR: volume group "media" has an invalid number of physical
volumes
vgcfgbackup -- ERROR "vg_cfgbackup(): vg_check_exist" backing up volume
group "media"

        Any ideas ? the software is:
Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software  13/11/2000  (IOP 10)

        installed from lvm-0.9-2 via debian apt-get from sistina.com

        Also is it possible to fix the lvm so that vgscan does not destroy
the volume group config ? (I think thats what it's doing).

Regards
Richard

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

* Re: [linux-lvm] vgcfgbackup problems
  2001-03-13 21:56 [linux-lvm] vgcfgbackup problems Kirth
@ 2001-03-14  0:16 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2001-03-14  0:16 UTC (permalink / raw)
  To: linux-lvm

Richard writes:
>         Hans Engren helped me fix my previous problem, so now I can at least
> mount the LVM (vgscan still ends up disableing it and I have to re-use
> vgcfgrestore to fix the problem). Once I got the LVM backup i thought i'd
> use vgcfgbackup, however here I hit a problem:
> 
> milita:~# vgcfgbackup
> vgcfgbackup -- ERROR: volume group "media" has an invalid number of physical
> volumes
> vgcfgbackup -- ERROR "vg_cfgbackup(): vg_check_exist" backing up volume
> group "media"
> 
>         Any ideas ? the software is:
> Logical Volume Manager 0.9
> Heinz Mauelshagen, Sistina Software  13/11/2000  (IOP 10)
> 
>         installed from lvm-0.9-2 via debian apt-get from sistina.com
> 
>         Also is it possible to fix the lvm so that vgscan does not destroy
> the volume group config ? (I think thats what it's doing).

You need newer tools - they fix a problem with vgcfgrestore (and the
rest of the tools) missing UUIDs from the disk.  Once you have the
new tools, vgcfgrestore should do the right thing.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

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

end of thread, other threads:[~2001-03-14  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-13 21:56 [linux-lvm] vgcfgbackup problems Kirth
2001-03-14  0:16 ` Andreas Dilger

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.