[linux-lvm] Re: LVM Woes
theman at chaj.com
Fri Apr 26 11:23:01 UTC 2002
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 ?
On Fri, 26 Apr 2002 linux-lvm-request at sistina.com wrote:
> Date: Thu, 25 Apr 2002 12:05:18 +0200
> From: "Heinz J . Mauelshagen" <mauelshagen at sistina.com>
> To: linux-lvm at sistina.com
> Subject: Re: [linux-lvm] Lvm woes
> Reply-To: linux-lvm at sistina.com
> 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.
> Heinz -- The LVM Guy --
More information about the linux-lvm