[linux-lvm] Re: LVM Woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 26, 2002 at 12:24:16PM -0400, Jims wrote:
> 
> Thanks for the suggestion. When I try it, here is what I get...
> 
> /sbin/vgcfgrestore -n world -o /dev/sdd1 /dev/hda2
> vgcfgrestore -- ERROR "vg_write(): open" storing VGDA of "world" on disks
> 
> Am I supposed to do something to the new disk other than creating an LVM
> partition on it ?

You need to run pvcreate on it before vgcfgrestore.

Regards,
Heinz    -- The LVM Guy --


> 
> Jims
> 
> On Fri, 26 Apr 2002 linux-lvm-request@sistina.com wrote:
> 
> > Date: Thu, 25 Apr 2002 12:05:18 +0200
> > From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
> > To: linux-lvm@sistina.com
> > Subject: Re: [linux-lvm] Lvm woes
> > Reply-To: linux-lvm@sistina.com
> >
> >
> > Jims,
> >
> > you hit one of the tradeofs of LVM1: binary metadata backup formats.
> > Therefore we have text formated ones in LVM2.
> >
> > "Well, that doesn't help me", I hear you say.
> >
> > So the help story goes:
> >
> > - stay with your 0.9 version
> >
> > - comment out the "if ( pv_get_size ( pv_name, NULL) != vg.pv[index]->pv_size) "
> >   which should be starting arround line 321 in vgcfgrestore.c
> >
> > - generate and install the LVM software
> >
> > - retry to vgcfgrestore to hdd1 as you did before
> >
> > - vgscan;vgchange -ay world
> >
> > - upgrade to LVM 1.0.3 is recommended afterwards
> >
> > Please tell me, how that goes.
> >
> > 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux