Using testdisk to recover deleted lvm2 partition
I am using testdisk to recover a lost lvm2 partition. The volume group is using only a single physical volume (/dev/md1).
The command "testdisk /dev/md1" creates a list of possible partitions to recover (with a lot of junk). My lost partition was there, listed as a "Linux" partition.
However, i don't understand what to do now. Testdisk seems to only let me recover this as an ordinary partition. It shows the cylinder information, with start and end cylinder for the partition. Is it possible to use this to manually edit the lvm configuration in some way. Or can testdisk recover this as an lvm2 partition for me?