[linux-lvm] Recovering files from incomplete set of pvs?

From: David Ellingsen <davide stud ntnu no>

To: linux-lvm redhat com

Subject: [linux-lvm] Recovering files from incomplete set of pvs?

Date: Tue, 8 Jun 2004 20:15:14 +0200

Hello,
I had a volume group with several logical volumes across 3 lvm physical
volumes that was partitions on the same disk. Then I had a little
accident and lost the partition table. I managed to recover most of the
partitions on the disk with the help of gpart.
The root partition was recovered correctly, so I am able to boot into
single user mode and have access to /etc/lvm. The big problem is that I
suspect only one of the lvm partitions was recovered correctly. Only
this partition matches one of the sizes described in
/etc/lvm/archive/vg0_00004.vg. pvscan also seem to display this
partition correctly (after running a program called uuid_fixer). (the
other two pvs is displayed with 0 free space).
My question is: Since linear mapping is used, should it not be possible
to recover some of the files even if only one pv is available?
The machine run lvm 2.00.06 and kernel 2.6.1 on Debian. I have very
little experience with lvm, so any help will be appreciated.
David