Skip to contentSkip to conversation

Using lvm1 vg's in lvm2 systems (RHEL4)

linux-lvm Fabricio Candido 3 participants 5 messages Oct 17, 2006 – Oct 25, 2006

lore
Share & tools
lore
#0 lore raw

Hi everybody,

My production data is in RHEL3 system, using lvm1. I'll backup data
using business
continuous copy (BCV) from my production vg to a backup server with RHEL 4. Is it possible to my RHEL4 system use these lvm1 vgs without converting it ? What is necessary ?

Regards,

Fabricio

#1 lore raw
Quoted 2 lines · Fabricio Candido

Is it possible to my RHEL4 system use these lvm1 vgs without converting it ? What is necessary ?

Yes, provided you can manage without snapshots and pvmove. [Alternatively, you can run vgconvert to update your metadata in-situ to the new lvm2 format.]

Alasdair

Signature · 1 line
[email protected]
#2 lore raw

Alasdair,

Thanks for your helping.

I got these messages when I just execute vgdisplay, vgscan or pvscan:

LV lv_oracle_data012: inconsistent LE count 252 != 1008

 Internal error: LV segments corrupted in lv_oracle_data012.
 LV lv_oracle_redo003: inconsistent LE count 4 != 16
 Internal error: LV segments corrupted in lv_oracle_redo003.
 LV lv_oracle_data020: inconsistent LE count 252 != 1008
 Internal error: LV segments corrupted in lv_oracle_data020.

I just imported these volumes in another RHEL3 server without problems.

Any ideas ?

Regards,

Fabricio

Quoted 21 lines · Alasdair G Kergon
Quoted 1 line · Fabricio Candido

Is it possible to my RHEL4 system use these lvm1 vgs without converting

it ?

Quoted 1 line

What is necessary ?

Yes, provided you can manage without snapshots and pvmove. [Alternatively, you can run vgconvert to update your metadata in-situ to the
new lvm2 format.]

Alasdair
--
[email protected]

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw

Hi all.

I've solved this problem downgrading the lvm version from RHEL4U2 to
RHEL4U1 included version.

Thanks all.

Fabricio

Quoted 46 lines · Fabricio Candido

Alasdair,

Thanks for your helping.

I got these messages when I just execute vgdisplay, vgscan or pvscan:

LV lv_oracle_data012: inconsistent LE count 252 != 1008

  Internal error: LV segments corrupted in lv_oracle_data012.
  LV lv_oracle_redo003: inconsistent LE count 4 != 16
  Internal error: LV segments corrupted in lv_oracle_redo003.
  LV lv_oracle_data020: inconsistent LE count 252 != 1008
  Internal error: LV segments corrupted in lv_oracle_data020.

I just imported these volumes in another RHEL3 server without problems.

Any ideas ?

Regards,

Fabricio

Quoted 21 lines · Alasdair G Kergon
Quoted 1 line · Fabricio Candido

Is it possible to my RHEL4 system use these lvm1 vgs without

converting it ?

Quoted 1 line

What is necessary ?

Yes, provided you can manage without snapshots and pvmove. [Alternatively, you can run vgconvert to update your metadata in-situ to the
new lvm2 format.]

Alasdair
--
[email protected]

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#4 lore raw

Thanks for indicating your solution. I was having a very similar problem upgrading a Debian Unstable system a few months ago. I still need to upgrade that system, so this might help me when that time comes around.

Quoted 58 lines · Fabricio Candido

Hi all.

I've solved this problem downgrading the lvm version from RHEL4U2 to
RHEL4U1 included version.

Thanks all.

Fabricio

On 10/17/06, Fabricio Candido <[email protected]> wrote:

Alasdair,

Thanks for your helping.

I got these messages when I just execute vgdisplay, vgscan or pvscan:

LV lv_oracle_data012: inconsistent LE count 252 != 1008 Internal error: LV segments corrupted in lv_oracle_data012. LV lv_oracle_redo003: inconsistent LE count 4 != 16 Internal error: LV segments corrupted in lv_oracle_redo003. LV lv_oracle_data020: inconsistent LE count 252 != 1008 Internal error: LV segments corrupted in lv_oracle_data020.

I just imported these volumes in another RHEL3 server without
problems.

Any ideas ?

Regards,
Fabricio
On 10/17/06, Alasdair G Kergon <[email protected]> wrote:

On Tue, Oct 17, 2006 at 07:00:52PM -0300, Fabricio Candido wrote:
> Is it possible to my RHEL4 system use these lvm1 vgs without converting it ?
> What is necessary ?

Yes, provided you can manage without snapshots and pvmove. [Alternatively, you can run vgconvert to update your metadata in-situ to the
new lvm2 format.]

Alasdair
--
[email protected]

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 5 lines
# Jesse Molina
# Mail = [email protected]
# Page = [email protected]
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/