All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] How to recover a VG from another PC?
@ 2004-01-15  8:54 Kurt Huwig
  2004-01-16  8:57 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Kurt Huwig @ 2004-01-15  8:54 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] How to recover a VG from another PC?
  2004-01-15  8:54 [linux-lvm] How to recover a VG from another PC? Kurt Huwig
@ 2004-01-16  8:57 ` Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2004-01-16  8:57 UTC (permalink / raw)
  To: linux-lvm

Kurt,

send me <mauelshagen@redhat.com> 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 --

On Thu, Jan 15, 2004 at 12:44:57PM +0100, Kurt Huwig wrote:
> 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
> -- 
> 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
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-16  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-15  8:54 [linux-lvm] How to recover a VG from another PC? Kurt Huwig
2004-01-16  8:57 ` Heinz Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.