* RE: [linux-lvm] Can't find LVM partition
@ 2002-06-25 10:39 Stauffer, Darryl
2002-06-26 5:32 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 6+ messages in thread
From: Stauffer, Darryl @ 2002-06-25 10:39 UTC (permalink / raw)
To: linux-lvm
Heinz,
When I type in pvdata /dev/sda5 I get the following output.
--- NEW Physical volume ---
PV Name /dev/sda5
VG Name
PV Size 0 [0 secs]
PV# 0
PV Status NOT available
Allocatable NO
Cur LV 0
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID none
--- Volume group ---
VG Name
VG Access error
VG Status NOT available/NOT resizable
VG # 0
MAX LV 0
Cur LV 0
Open LV 0
MAX LV Size 0
Max PV 0
Cur PV 0
Act PV 0
VG Size 0
PE Size 0
Total PE 0
Alloc PE / Size 0 / 0
Free PE / Size 0 / 0
VG UUID none
--- List of logical volumes ---
--- List of physical volume UUIDs ---
I'm assuming that it cannot find the LVM partition information.
Unfortunately I do not have a backup copy of the /etc/lvmconf/* files. If
you know of anything else I could try it would be greatly appreciated.
Thanks,
Darryl
-----Original Message-----
From: Heinz J . Mauelshagen [mailto:mauelshagen@sistina.com]
Sent: Tuesday, June 18, 2002 6:32 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Can't find LVM partition
Darryl,
as Patrick said, vgscan should find your LVM partition fine unless it got
written over.
In case just the LVM metadata at the beginning of that partition (~ < 1MB)
got overwritten during install, backups of /etc/lvmconf/* and
vgcfgrestore(8)
are your friends as Sander metioned. If more is gone you probably wont't get
back a whole lot of useful data.
Any progress so far?
On Thu, Jun 13, 2002@11:36:38AM -0400, Stauffer, Darryl wrote:
> Hello,
>
> I just got done upgrading from Redhat 7.2 to Redhat 7.3. My home
directory
> was setup on its own partition using LVM and reiserFS. The upgrade was
done
> by formatting the original root partition and reinstalling OS which means
> that all the LVM info is gone. Is there any way to recover my LVM
> partition?
>
> Thanks,
> Darryl
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] Can't find LVM partition
2002-06-25 10:39 [linux-lvm] Can't find LVM partition Stauffer, Darryl
@ 2002-06-26 5:32 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2002-06-26 5:32 UTC (permalink / raw)
To: linux-lvm
On Tue, Jun 25, 2002 at 11:33:42AM -0400, Stauffer, Darryl wrote:
> Heinz,
>
> When I type in pvdata /dev/sda5 I get the following output.
>
> --- NEW Physical volume ---
> PV Name /dev/sda5
> VG Name
> PV Size 0 [0 secs]
> PV# 0
> PV Status NOT available
> Allocatable NO
> Cur LV 0
> PE Size (KByte) 0
> Total PE 0
> Free PE 0
> Allocated PE 0
> PV UUID none
>
> --- Volume group ---
> VG Name
> VG Access error
> VG Status NOT available/NOT resizable
> VG # 0
> MAX LV 0
> Cur LV 0
> Open LV 0
> MAX LV Size 0
> Max PV 0
> Cur PV 0
> Act PV 0
> VG Size 0
> PE Size 0
> Total PE 0
> Alloc PE / Size 0 / 0
> Free PE / Size 0 / 0
> VG UUID none
>
> --- List of logical volumes ---
>
> --- List of physical volume UUIDs ---
Well, this looks like a whole lot of zeroes at the beginning of /dev/sda5 :(
Not really recoverable.
>
> I'm assuming that it cannot find the LVM partition information.
> Unfortunately I do not have a backup copy of the /etc/lvmconf/* files. If
> you know of anything else I could try it would be greatly appreciated.
Nope, sorry.
At least you need LVM metadata archive backups (/etc/lvmconf/*) or backups
of your data.
Both would have been better though...
Regards,
Heinz -- The LVM Guy --
>
> Thanks,
> Darryl
>
>
> -----Original Message-----
> From: Heinz J . Mauelshagen [mailto:mauelshagen@sistina.com]
> Sent: Tuesday, June 18, 2002 6:32 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] Can't find LVM partition
>
>
>
> Darryl,
>
> as Patrick said, vgscan should find your LVM partition fine unless it got
> written over.
>
> In case just the LVM metadata at the beginning of that partition (~ < 1MB)
> got overwritten during install, backups of /etc/lvmconf/* and
> vgcfgrestore(8)
> are your friends as Sander metioned. If more is gone you probably wont't get
> back a whole lot of useful data.
>
> Any progress so far?
>
>
> On Thu, Jun 13, 2002 at 11:36:38AM -0400, Stauffer, Darryl wrote:
> > Hello,
> >
> > I just got done upgrading from Redhat 7.2 to Redhat 7.3. My home
> directory
> > was setup on its own partition using LVM and reiserFS. The upgrade was
> done
> > by formatting the original root partition and reinstalling OS which means
> > that all the LVM info is gone. Is there any way to recover my LVM
> > partition?
> >
> > Thanks,
> > Darryl
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
> --
>
*** 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] 6+ messages in thread
* [linux-lvm] Can't find LVM partition
@ 2002-06-13 10:42 Stauffer, Darryl
2002-06-13 13:49 ` Sander
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Stauffer, Darryl @ 2002-06-13 10:42 UTC (permalink / raw)
To: linux-lvm
Hello,
I just got done upgrading from Redhat 7.2 to Redhat 7.3. My home directory
was setup on its own partition using LVM and reiserFS. The upgrade was done
by formatting the original root partition and reinstalling OS which means
that all the LVM info is gone. Is there any way to recover my LVM
partition?
Thanks,
Darryl
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] Can't find LVM partition
2002-06-13 10:42 Stauffer, Darryl
@ 2002-06-13 13:49 ` Sander
2002-06-13 14:15 ` Patrick Caulfield
2002-06-18 5:38 ` Heinz J . Mauelshagen
2 siblings, 0 replies; 6+ messages in thread
From: Sander @ 2002-06-13 13:49 UTC (permalink / raw)
To: linux-lvm
(Response to message from Stauffer, Darryl, Darryl_Stauffer@stercomm.com on Thursday, June 13, 2002 5:36:38 PM)
Hallo Darryl,
I've not used LVM for a long time, but if you have backups of the
meta data it should be possible using vgcfgrestore.
--
Regards,
Sander
Thursday, June 13, 2002, 5:36:38 PM, you wrote:
> Hello,
> I just got done upgrading from Redhat 7.2 to Redhat 7.3. My home directory
> was setup on its own partition using LVM and reiserFS. The upgrade was done
> by formatting the original root partition and reinstalling OS which means
> that all the LVM info is gone. Is there any way to recover my LVM
> partition?
> Thanks,
> Darryl
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Can't find LVM partition
2002-06-13 10:42 Stauffer, Darryl
2002-06-13 13:49 ` Sander
@ 2002-06-13 14:15 ` Patrick Caulfield
2002-06-18 5:38 ` Heinz J . Mauelshagen
2 siblings, 0 replies; 6+ messages in thread
From: Patrick Caulfield @ 2002-06-13 14:15 UTC (permalink / raw)
To: linux-lvm
On Thu, Jun 13, 2002 at 11:36:38AM -0400, Stauffer, Darryl wrote:
> Hello,
>
> I just got done upgrading from Redhat 7.2 to Redhat 7.3. My home directory
> was setup on its own partition using LVM and reiserFS. The upgrade was done
> by formatting the original root partition and reinstalling OS which means
> that all the LVM info is gone. Is there any way to recover my LVM
> partition?
If all that was upgraded was an existing non-LVM root partition then vgscan
should fine the LVM bits again without help.
patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Can't find LVM partition
2002-06-13 10:42 Stauffer, Darryl
2002-06-13 13:49 ` Sander
2002-06-13 14:15 ` Patrick Caulfield
@ 2002-06-18 5:38 ` Heinz J . Mauelshagen
2 siblings, 0 replies; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2002-06-18 5:38 UTC (permalink / raw)
To: linux-lvm
Darryl,
as Patrick said, vgscan should find your LVM partition fine unless it got
written over.
In case just the LVM metadata at the beginning of that partition (~ < 1MB)
got overwritten during install, backups of /etc/lvmconf/* and vgcfgrestore(8)
are your friends as Sander metioned. If more is gone you probably wont't get
back a whole lot of useful data.
Any progress so far?
On Thu, Jun 13, 2002@11:36:38AM -0400, Stauffer, Darryl wrote:
> Hello,
>
> I just got done upgrading from Redhat 7.2 to Redhat 7.3. My home directory
> was setup on its own partition using LVM and reiserFS. The upgrade was done
> by formatting the original root partition and reinstalling OS which means
> that all the LVM info is gone. Is there any way to recover my LVM
> partition?
>
> Thanks,
> Darryl
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** 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] 6+ messages in thread
end of thread, other threads:[~2002-06-26 5:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-25 10:39 [linux-lvm] Can't find LVM partition Stauffer, Darryl
2002-06-26 5:32 ` Heinz J . Mauelshagen
-- strict thread matches above, loose matches on Subject: below --
2002-06-13 10:42 Stauffer, Darryl
2002-06-13 13:49 ` Sander
2002-06-13 14:15 ` Patrick Caulfield
2002-06-18 5:38 ` Heinz J . Mauelshagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox