Skip to contentSkip to conversation

How to recover a VG from another PC?

linux-lvm Kurt Huwig 2 participants 2 messages Jan 15, 2004 – Jan 16, 2004

lore
Share & tools
lore

Kurt Huwig

author
#0 lore raw

Hi!

I've got the following problem:

I replaced an old SUSE 7.3, Kernel 2.4.10 (or so) by a current Debian with 2.4.23. There was an IDE disk:

/dev/hdc2 65 5005 39688582+ 8e Linux LVM

There was a volume group called 'ide' containing only this one partition.

Unfortunately I did the reinstall before reading the LVM manual and so did not use the export-feature. What I get from 'vgscan -d' is:

<333> pv_check_volume -- CALLED dev_name: "/dev/hdc2" pv: 804D110 <4444> pv_check_name -- CALLED with "/dev/hdc2"
<55555> lvm_check_chars -- CALLED with name: "/dev/hdc2" <55555> lvm_check_chars -- LEAVING with ret: 0
<4444> pv_check_name -- LEAVING with ret: 0
<4444> pv_check_new -- CALLED
<4444> pv_check_new -- LEAVING with ret: 0
<4444> vg_check_name -- CALLED with VG: ide
<55555> lvm_check_chars -- CALLED with name: "ide" <55555> lvm_check_chars -- LEAVING with ret: 0
<4444> vg_check_name -- LEAVING with ret: -348
<333> pv_check_volume -- LEAVING with ret: 0
<22> pv_read_all_pv -- device /dev/hdc2 NOT used

but no volume group appears.

What can I do?

Kurt

Signature · 4 lines
Kurt Huwig             iKu Systemhaus AG        http://www.iku-ag.de/
Vorstand               Am Rᅵmerkastell 4        Telefon 0681/96751-0
                       66121 Saarbrᅵcken        Telefax 0681/96751-66
GnuPG 1024D/99DD9468 64B1 0C5B 82BC E16E 8940  EB6D 4C32 F908 99DD 9468
#1 lore raw

Kurt,

send me <[email protected]> a copy of the bzip2'ed output of "dd if=/dev/hdc2 ibs=1k count=4k" and i'll have a go on your metadata trying to repair it and send it back to you for VG recovery.

Cheers,
Heinz -- The LVM Guy --

Quoted 28 lines · Kurt Huwig

Hi!

I've got the following problem:

I replaced an old SUSE 7.3, Kernel 2.4.10 (or so) by a current Debian with 2.4.23. There was an IDE disk:

/dev/hdc2 65 5005 39688582+ 8e Linux LVM

There was a volume group called 'ide' containing only this one partition.

Unfortunately I did the reinstall before reading the LVM manual and so did not use the export-feature. What I get from 'vgscan -d' is:

<333> pv_check_volume -- CALLED dev_name: "/dev/hdc2" pv: 804D110 <4444> pv_check_name -- CALLED with "/dev/hdc2"
<55555> lvm_check_chars -- CALLED with name: "/dev/hdc2" <55555> lvm_check_chars -- LEAVING with ret: 0
<4444> pv_check_name -- LEAVING with ret: 0
<4444> pv_check_new -- CALLED
<4444> pv_check_new -- LEAVING with ret: 0
<4444> vg_check_name -- CALLED with VG: ide
<55555> lvm_check_chars -- CALLED with name: "ide" <55555> lvm_check_chars -- LEAVING with ret: 0
<4444> vg_check_name -- LEAVING with ret: -348
<333> pv_check_volume -- LEAVING with ret: 0
<22> pv_read_all_pv -- device /dev/hdc2 NOT used

Quoted 11 lines

but no volume group appears.

What can I do?

Kurt

Signature · 4 lines
Kurt Huwig             iKu Systemhaus AG        http://www.iku-ag.de/
Vorstand               Am Römerkastell 4        Telefon 0681/96751-0
                       66121 Saarbrücken        Telefax 0681/96751-66
GnuPG 1024D/99DD9468 64B1 0C5B 82BC E16E 8940  EB6D 4C32 F908 99DD 9468

*** 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
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-