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

[linux-lvm] Re: LVM Woes



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 ?

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




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