rebuild partition table with LVM physical volumes
Posted: 29 Mar 2012, 18:18
Hi everybody,
I happened to wipe out the beginning 1MB of a 2TB disk
which was partitioned with the following LVM scheme:
three LVM logical volumes (root/swap/home)
on two LVM physical volumes, namely,
two different partitions of this large disk
(the second one was added as a second LVM pv
after cloning a smaller 320GB disk which was to be replaced)
now, the testdisk advanced analysis seem to find the first partition correctly,
but sadly, it fails to detect the second one, therefore,
if I write the recovered partition scheme,
the "home" Logical Volume (which of course is the one I care of)
appears to be UNAVAILABLE
I was wondering what exactly does the "deep search" mode?
could it be that it misses the "signature" that marks the beginning
of the (much larger) second LVM physical volume?
I'm afraid I cannot make use of any LVM analysis/recovery tool
as long as I do not feed LVM the correct physical volume start and size
regards,
Francesco 'Franz' Castelli
I happened to wipe out the beginning 1MB of a 2TB disk
which was partitioned with the following LVM scheme:
three LVM logical volumes (root/swap/home)
on two LVM physical volumes, namely,
two different partitions of this large disk
(the second one was added as a second LVM pv
after cloning a smaller 320GB disk which was to be replaced)
now, the testdisk advanced analysis seem to find the first partition correctly,
but sadly, it fails to detect the second one, therefore,
if I write the recovered partition scheme,
the "home" Logical Volume (which of course is the one I care of)
appears to be UNAVAILABLE
I was wondering what exactly does the "deep search" mode?
could it be that it misses the "signature" that marks the beginning
of the (much larger) second LVM physical volume?
I'm afraid I cannot make use of any LVM analysis/recovery tool
as long as I do not feed LVM the correct physical volume start and size
regards,
Francesco 'Franz' Castelli