* [linux-lvm] LVM problem - how to recover?
@ 2006-11-28 20:15 Richard Kampmann
2006-12-03 13:26 ` Richard Kampmann
2006-12-03 21:15 ` Zac Slade
0 siblings, 2 replies; 5+ messages in thread
From: Richard Kampmann @ 2006-11-28 20:15 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]
Hi everybody ...
I recently had a lvm crash from which I now have to recover. So now I need
your help ...
The system is a SUSE 10.1 system with actual patches.
# uname -rio
2.6.16.21-0.25-default i386 GNU/Linux
# lvm version
LVM version: 2.02.02 (2006-02-07)
Library version: 1.02.03 (2006-02-08)
Driver version: 4.5.0
#
There was the unenlightened crash and before there was a volume goup spanning
two physical partitions (sda2, sdb2), each on one physical disk (sda, sdb).
The system froze (maybe in coincidence with some snapshot-handling) and I had
to press the reset button. When rebooting lvm told me he could not open the
volume group because one pv was missing. The partition looked OK when
checking the partition table. I tried several things - and to do a
vgcfgrestore but it did not help.
The volume group (system_vg) contained the root partition, so I installed a
new system on a third disc and tried to recover the old volume group.
Unfortunately when doing the pvcreate for the two physical volumes I did NOT
choose the "--zero n" switch.
Fact is: I now have the volume group containing two physical discs and two
physical volumes with the correct PV UUIDs. But the first sectors are zeroed,
aren't they?
Any way to recover the LVs of the old volume group? A vgcfgrestore (YES, there
was a vgcfgbackup before!) does not work ... bad luck.
Ah - and all logical volumes contain Reiser Filesystems V 3.6 - they MUST
still be there ...
So - what could be my next steps?
Bye
Richard Kampmann
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] LVM problem - how to recover?
2006-11-28 20:15 [linux-lvm] LVM problem - how to recover? Richard Kampmann
@ 2006-12-03 13:26 ` Richard Kampmann
2006-12-08 17:23 ` Richard Mollel
2006-12-03 21:15 ` Zac Slade
1 sibling, 1 reply; 5+ messages in thread
From: Richard Kampmann @ 2006-12-03 13:26 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 2110 bytes --]
Hi everybody,
I'm a bit disappointed, because there was really no feedback to my mail.
The situation is a real problem for me - is there anything missing? Or is
there no way to recover (can't believe that ...)?
Wrong way or place to ask? Then please tell me where to go ...
I tried to find a solution myself (also with help of Google ...), but it did
not help me.
Bye
Richard Kampmann
Am Dienstag, 28. November 2006 21:15 schrieb Richard Kampmann:
> Hi everybody ...
>
> I recently had a lvm crash from which I now have to recover. So now I need
> your help ...
>
> The system is a SUSE 10.1 system with actual patches.
> # uname -rio
> 2.6.16.21-0.25-default i386 GNU/Linux
> # lvm version
> LVM version: 2.02.02 (2006-02-07)
> Library version: 1.02.03 (2006-02-08)
> Driver version: 4.5.0
> #
>
> There was the unenlightened crash and before there was a volume goup
> spanning two physical partitions (sda2, sdb2), each on one physical disk
> (sda, sdb). The system froze (maybe in coincidence with some
> snapshot-handling) and I had to press the reset button. When rebooting lvm
> told me he could not open the volume group because one pv was missing. The
> partition looked OK when checking the partition table. I tried several
> things - and to do a vgcfgrestore but it did not help.
>
> The volume group (system_vg) contained the root partition, so I installed a
> new system on a third disc and tried to recover the old volume group.
> Unfortunately when doing the pvcreate for the two physical volumes I did
> NOT choose the "--zero n" switch.
>
> Fact is: I now have the volume group containing two physical discs and two
> physical volumes with the correct PV UUIDs. But the first sectors are
> zeroed, aren't they?
>
> Any way to recover the LVs of the old volume group? A vgcfgrestore (YES,
> there was a vgcfgbackup before!) does not work ... bad luck.
>
> Ah - and all logical volumes contain Reiser Filesystems V 3.6 - they MUST
> still be there ...
>
> So - what could be my next steps?
>
> Bye
>
> Richard Kampmann
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] LVM problem - how to recover?
2006-11-28 20:15 [linux-lvm] LVM problem - how to recover? Richard Kampmann
2006-12-03 13:26 ` Richard Kampmann
@ 2006-12-03 21:15 ` Zac Slade
2006-12-05 13:38 ` [linux-lvm] LVM problem - how to recover? (solved) Richard Kampmann
1 sibling, 1 reply; 5+ messages in thread
From: Zac Slade @ 2006-12-03 21:15 UTC (permalink / raw)
To: LVM general discussion and development
On Tuesday 28 November 2006 14:15, Richard Kampmann wrote:
> Any way to recover the LVs of the old volume group? A vgcfgrestore (YES,
> there was a vgcfgbackup before!) does not work ... bad luck.
What errors do you get using vgcfgrestore?
--
Zac Slade
krakrjak@volumehost.net
ICQ:1415282 YM:krakrjak AIM:ttyp99
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] LVM problem - how to recover? (solved)
2006-12-03 21:15 ` Zac Slade
@ 2006-12-05 13:38 ` Richard Kampmann
0 siblings, 0 replies; 5+ messages in thread
From: Richard Kampmann @ 2006-12-05 13:38 UTC (permalink / raw)
To: linux-lvm
Hi Zac,
> > Any way to recover the LVs of the old volume group? A vgcfgrestore (YES,
> > there was a vgcfgbackup before!) does not work ... bad luck.
>
> What errors do you get using vgcfgrestore?
thank you for your answer. I got various errors ...
The reason for this was that all hints and todos I found had the wrong syntax
(maybe old lvm-version ...). The manpage of vgcfgrestore does not tell
anything helpful.
In the meantime I found the right syntax and with a little trying and
stumbling I managed to get access to the important LVs on both disks. Most of
my important data is available - only one filesystem was badly corrupted.
Maybe a 'reiserfsck --rebuild-tree' helps (runs at the moment).
So my problem seems to be solved - thanks.
Bye
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] LVM problem - how to recover?
2006-12-03 13:26 ` Richard Kampmann
@ 2006-12-08 17:23 ` Richard Mollel
0 siblings, 0 replies; 5+ messages in thread
From: Richard Mollel @ 2006-12-08 17:23 UTC (permalink / raw)
To: LVM general discussion and development
Hi Richard,
1. What does/did vgcfgrestore tell you when you tried
to use it? You said it did not work....
2. Does debugreiserfs /dev/mapper/VGgroup-LVlist say
that there is a filesystem there? (assuming you have
not created a new filesystem there && also assuming
you can perform "vgchange -a y VGgroup" )
_thanks
Richard
--- Richard Kampmann <Richard.Kampmann@freenet.de>
wrote:
> Hi everybody,
>
> I'm a bit disappointed, because there was really no
> feedback to my mail.
>
> The situation is a real problem for me - is there
> anything missing? Or is
> there no way to recover (can't believe that ...)?
> Wrong way or place to ask? Then please tell me where
> to go ...
>
> I tried to find a solution myself (also with help of
> Google ...), but it did
> not help me.
>
> Bye
>
> Richard Kampmann
>
> Am Dienstag, 28. November 2006 21:15 schrieb Richard
> Kampmann:
> > Hi everybody ...
> >
> > I recently had a lvm crash from which I now have
> to recover. So now I need
> > your help ...
> >
> > The system is a SUSE 10.1 system with actual
> patches.
> > # uname -rio
> > 2.6.16.21-0.25-default i386 GNU/Linux
> > # lvm version
> > LVM version: 2.02.02 (2006-02-07)
> > Library version: 1.02.03 (2006-02-08)
> > Driver version: 4.5.0
> > #
> >
> > There was the unenlightened crash and before there
> was a volume goup
> > spanning two physical partitions (sda2, sdb2),
> each on one physical disk
> > (sda, sdb). The system froze (maybe in coincidence
> with some
> > snapshot-handling) and I had to press the reset
> button. When rebooting lvm
> > told me he could not open the volume group because
> one pv was missing. The
> > partition looked OK when checking the partition
> table. I tried several
> > things - and to do a vgcfgrestore but it did not
> help.
> >
> > The volume group (system_vg) contained the root
> partition, so I installed a
> > new system on a third disc and tried to recover
> the old volume group.
> > Unfortunately when doing the pvcreate for the two
> physical volumes I did
> > NOT choose the "--zero n" switch.
> >
> > Fact is: I now have the volume group containing
> two physical discs and two
> > physical volumes with the correct PV UUIDs. But
> the first sectors are
> > zeroed, aren't they?
> >
> > Any way to recover the LVs of the old volume
> group? A vgcfgrestore (YES,
> > there was a vgcfgbackup before!) does not work ...
> bad luck.
> >
> > Ah - and all logical volumes contain Reiser
> Filesystems V 3.6 - they MUST
> > still be there ...
> >
> > So - what could be my next steps?
> >
> > Bye
> >
> > Richard Kampmann
> > _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at
http://tldp.org/HOWTO/LVM-HOWTO/
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-12-08 17:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-28 20:15 [linux-lvm] LVM problem - how to recover? Richard Kampmann
2006-12-03 13:26 ` Richard Kampmann
2006-12-08 17:23 ` Richard Mollel
2006-12-03 21:15 ` Zac Slade
2006-12-05 13:38 ` [linux-lvm] LVM problem - how to recover? (solved) Richard Kampmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).