* [linux-lvm] Lost partition table, how can I find the start of the PV?
@ 2003-11-25 8:03 Brian J. Murrell
2003-11-25 8:14 ` Rickard Olsson
2003-11-25 10:15 ` qv6
0 siblings, 2 replies; 6+ messages in thread
From: Brian J. Murrell @ 2003-11-25 8:03 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 871 bytes --]
Yes, in a most stupid error, I trashed my partition table, but I know
the disk was partitioned into 3 partitions as follows:
/dev/hda1:/boot with ext2/3 on it
/dev/hda2:swap
/dev/hda3:lvm PV with ext3 on it
Where th partition boundaries are, I am not sure. :-(
While I may have lost /boot I am hopeful the destructive operation did
not get to /dev/hda3, which had the only PV on the system.
I am hoping somebody can suggest a tool/operation to try to recover at
least enough of a partition table to try to get /dev/hda3 (and hda1 and
hda2 if possible. bit hda3 is most important) back in order, get the VG
up and get the data off it.
Any ideas at all on how to proceed? Just for reference in versions of
filesystems, LVM, etc. this was a Debian Woody system.
b.
--
My other computer is your Microsoft Windows server.
Brian J. Murrell
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Lost partition table, how can I find the start of the PV?
2003-11-25 8:03 [linux-lvm] Lost partition table, how can I find the start of the PV? Brian J. Murrell
@ 2003-11-25 8:14 ` Rickard Olsson
2003-11-25 23:05 ` Brian J. Murrell
2003-11-28 8:15 ` Brian J. Murrell
2003-11-25 10:15 ` qv6
1 sibling, 2 replies; 6+ messages in thread
From: Rickard Olsson @ 2003-11-25 8:14 UTC (permalink / raw)
To: linux-lvm
Brian J. Murrell wrote:
> I am hoping somebody can suggest a tool/operation to try to recover at
> least enough of a partition table to try to get /dev/hda3 (and hda1 and
> hda2 if possible.
You can try gpart: http://www.stud.uni-hannover.de/user/76201/gpart/
/ Rickard Olsson,IT-Konsult/
/ Telefon: +46 70 635 01 42/
/ http://www.webhackande.se/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] Lost partition table, how can I find the start of the PV?
2003-11-25 8:14 ` Rickard Olsson
@ 2003-11-25 23:05 ` Brian J. Murrell
2003-11-28 8:15 ` Brian J. Murrell
1 sibling, 0 replies; 6+ messages in thread
From: Brian J. Murrell @ 2003-11-25 23:05 UTC (permalink / raw)
To: linux-lvm
On Tue, 2003-11-25 at 09:13, Rickard Olsson wrote:
> You can try gpart: http://www.stud.uni-hannover.de/user/76201/gpart/
Ahhhh. Good ol' gpart. From the initial webpage, this looks like it
will be what I am looking for. I wonder how good it is and if a manual
inspection could be any more accurate if gpart fails to determine the
previous partition table layout.
Much thanks for the pointer Rickard!
b.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Lost partition table, how can I find the start of the PV?
2003-11-25 8:14 ` Rickard Olsson
2003-11-25 23:05 ` Brian J. Murrell
@ 2003-11-28 8:15 ` Brian J. Murrell
1 sibling, 0 replies; 6+ messages in thread
From: Brian J. Murrell @ 2003-11-28 8:15 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 664 bytes --]
Just wanted to give a big shout out to Rickard...
On Tue, 2003-11-25 at 09:13, Rickard Olsson wrote:
> Brian J. Murrell wrote:
>
> > I am hoping somebody can suggest a tool/operation to try to recover at
> > least enough of a partition table to try to get /dev/hda3 (and hda1 and
> > hda2 if possible.
>
> You can try gpart: http://www.stud.uni-hannover.de/user/76201/gpart/
This did the trick! Got all my data back, system is back in running
order and I am doing a backup as we speak.
Always answer that little voice that nags you every now and then. :-)
b.
--
My other computer is your Microsoft Windows server.
Brian J. Murrell
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Lost partition table, how can I find the start of the PV?
2003-11-25 8:03 [linux-lvm] Lost partition table, how can I find the start of the PV? Brian J. Murrell
2003-11-25 8:14 ` Rickard Olsson
@ 2003-11-25 10:15 ` qv6
2003-11-25 22:56 ` Brian J. Murrell
1 sibling, 1 reply; 6+ messages in thread
From: qv6 @ 2003-11-25 10:15 UTC (permalink / raw)
To: linux-lvm
On Mon, 2003-11-24 at 23:56, Brian J. Murrell wrote:
> Yes, in a most stupid error, I trashed my partition table, but I know
>
> I am hoping somebody can suggest a tool/operation to try to recover at
> least enough of a partition table to try to get /dev/hda3 (and hda1 and
> hda2 if possible. bit hda3 is most important) back in order, get the VG
> up and get the data off it.
>
> Any ideas at all on how to proceed? Just for reference in versions of
> filesystems, LVM, etc. this was a Debian Woody system.
>
> b.
How about booting from the installation cd that you used to build the
system. I've done something similar on Gentoo.BTW, what about the rescue
disk that you created or should have created after the install?
Qv6
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Lost partition table, how can I find the start of the PV?
2003-11-25 10:15 ` qv6
@ 2003-11-25 22:56 ` Brian J. Murrell
0 siblings, 0 replies; 6+ messages in thread
From: Brian J. Murrell @ 2003-11-25 22:56 UTC (permalink / raw)
To: linux-lvm
On Tue, 2003-11-25 at 10:14, qv6 wrote:
>
> How about booting from the installation cd that you used to build the
> system.
To be clear, I don't have a problem booting the system or even putting
the disk into a situation/configuration where I can play doctor on it.
That is not the nature of my query.
What I want to know is if there is any way I can use LVM, and the way it
writes metadata into the partition (if indeed it does do that) to help
me determine where that given PV started so that I can put the partition
boundaries (i.e. the partition table) back and try to further recover
the PV.
b.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-11-28 8:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-25 8:03 [linux-lvm] Lost partition table, how can I find the start of the PV? Brian J. Murrell
2003-11-25 8:14 ` Rickard Olsson
2003-11-25 23:05 ` Brian J. Murrell
2003-11-28 8:15 ` Brian J. Murrell
2003-11-25 10:15 ` qv6
2003-11-25 22:56 ` Brian J. Murrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox